mirror of
https://github.com/fastmail/Squire.git
synced 2025-01-03 05:00:13 -05:00
Fix whitespace errors.
Thanks to @gertsonderby who pointed these out in #138.
This commit is contained in:
parent
0ec3c43791
commit
9461368a5c
3 changed files with 12 additions and 12 deletions
|
@ -2899,8 +2899,8 @@ proto._addFormat = function ( tag, attributes, range ) {
|
|||
function ( node ) {
|
||||
return ( node.nodeType === TEXT_NODE ||
|
||||
node.nodeName === 'BR' ||
|
||||
node.nodeName === 'IMG' ) &&
|
||||
isNodeContainedInRange( range, node, true );
|
||||
node.nodeName === 'IMG'
|
||||
) && isNodeContainedInRange( range, node, true );
|
||||
},
|
||||
false
|
||||
);
|
||||
|
|
|
@ -775,8 +775,8 @@ proto._addFormat = function ( tag, attributes, range ) {
|
|||
function ( node ) {
|
||||
return ( node.nodeType === TEXT_NODE ||
|
||||
node.nodeName === 'BR' ||
|
||||
node.nodeName === 'IMG' ) &&
|
||||
isNodeContainedInRange( range, node, true );
|
||||
node.nodeName === 'IMG'
|
||||
) && isNodeContainedInRange( range, node, true );
|
||||
},
|
||||
false
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue