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

Merge pull request #164 from priceld/master

change the walker's currentNode to reflect the changes being made to …
This commit is contained in:
Neil Jenkins 2015-12-03 17:02:53 +11:00
commit 771fe93217

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 {