0
Fork 0
mirror of https://github.com/fastmail/Squire.git synced 2024-12-22 07:13:08 -05:00

Fix null deref in insertHTML

This commit is contained in:
Neil Jenkins 2016-12-07 19:08:52 +11:00
parent bb40d03899
commit a899c001eb
3 changed files with 3 additions and 3 deletions

View file

@ -4162,7 +4162,7 @@ proto.insertHTML = function ( html, isPaste ) {
frag.normalize();
while ( node = getNextBlock( node, frag ) ) {
fixCursor( node, null );
fixCursor( node, root );
}
if ( isPaste ) {

File diff suppressed because one or more lines are too long

View file

@ -1768,7 +1768,7 @@ proto.insertHTML = function ( html, isPaste ) {
frag.normalize();
while ( node = getNextBlock( node, frag ) ) {
fixCursor( node, null );
fixCursor( node, root );
}
if ( isPaste ) {