diff options
author | Alexander Larsson <alexl@redhat.com> | 2019-03-27 14:21:28 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2019-03-27 14:21:28 +0100 |
commit | 411dc7e138f040384b06cb19a0a773cf9de016eb (patch) | |
tree | 8f656d0c740dd993fa0ac685eb7cdebaee849481 /gdk/broadway/broadway.js | |
parent | 141f758c5ce1eba8b1fabdb681c24349bf4d9d09 (diff) | |
download | gtk+-411dc7e138f040384b06cb19a0a773cf9de016eb.tar.gz |
broadway: Fix leftover dom modification not using display_commands
Diffstat (limited to 'gdk/broadway/broadway.js')
-rw-r--r-- | gdk/broadway/broadway.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/broadway/broadway.js b/gdk/broadway/broadway.js index 00c341c393..c6e537c909 100644 --- a/gdk/broadway/broadway.js +++ b/gdk/broadway/broadway.js @@ -755,7 +755,7 @@ TransformNodes.prototype.insertNode = function(parent, posInParent, oldNode) /* Remove children that are after the new length */ 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 */ newNode = null; |