mirror of
https://github.com/fastmail/Squire.git
synced 2024-12-22 15:23:29 -05:00
parent
aa3857ab77
commit
4354b46db9
3 changed files with 3 additions and 1 deletions
|
@ -229,6 +229,7 @@ function areAlike ( node, node2 ) {
|
|||
return !isLeaf( node ) && (
|
||||
node.nodeType === node2.nodeType &&
|
||||
node.nodeName === node2.nodeName &&
|
||||
node.nodeName !== 'A' &&
|
||||
node.className === node2.className &&
|
||||
( ( !node.style && !node2.style ) ||
|
||||
node.style.cssText === node2.style.cssText )
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -58,6 +58,7 @@ function areAlike ( node, node2 ) {
|
|||
return !isLeaf( node ) && (
|
||||
node.nodeType === node2.nodeType &&
|
||||
node.nodeName === node2.nodeName &&
|
||||
node.nodeName !== 'A' &&
|
||||
node.className === node2.className &&
|
||||
( ( !node.style && !node2.style ) ||
|
||||
node.style.cssText === node2.style.cssText )
|
||||
|
|
Loading…
Reference in a new issue