0
Fork 0
mirror of https://github.com/fastmail/Squire.git synced 2024-12-22 15:23:29 -05:00

change the walker's currentNode to reflect the changes being made to the tree

This commit is contained in:
priceld 2015-12-01 10:53:30 -05:00
parent 987f3afd52
commit abfebbab16

View file

@ -425,6 +425,7 @@ var removeZWS = function ( root ) {
parent = node.parentNode;
parent.removeChild( node );
node = parent;
walker.currentNode = parent;
} while ( isInline( node ) && !getLength( node ) );
break;
} else {