forked from AuroraMiddleware/gtk
broadway: Fix leftover dom modification not using display_commands
This commit is contained in:
parent
141f758c5c
commit
411dc7e138
@ -755,7 +755,7 @@ TransformNodes.prototype.insertNode = function(parent, posInParent, oldNode)
|
|||||||
|
|
||||||
/* Remove children that are after the new length */
|
/* Remove children that are after the new length */
|
||||||
for (i = oldChildren.length - 1; i > len - 1; i--)
|
for (i = oldChildren.length - 1; i > len - 1; i--)
|
||||||
oldNode.removeChild(oldChildren[i]);
|
this.display_commands.push([DISPLAY_OP_DELETE_NODE, oldChildren[i]]);
|
||||||
|
|
||||||
/* NOTE: No need to modify the parent, we're keeping this node as is */
|
/* NOTE: No need to modify the parent, we're keeping this node as is */
|
||||||
newNode = null;
|
newNode = null;
|
||||||
|
Loading…
Reference in New Issue
Block a user