Skip to content

Commit

Permalink
fix moveBefore invocation.
Browse files Browse the repository at this point in the history
  • Loading branch information
botandrose-machine committed Dec 13, 2024
1 parent b7d330c commit 2bae8ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/idiomorph.js
Original file line number Diff line number Diff line change
Expand Up @@ -1101,7 +1101,7 @@ var Idiomorph = (function () {
// @ts-ignore - use proposed moveBefore feature
if (ctx.pantry.moveBefore) {
// @ts-ignore - use proposed moveBefore feature
ctx.pantry.moveBefore(node);
ctx.pantry.moveBefore(node, null);
} else {
ctx.pantry.insertBefore(node, null);
}
Expand Down

0 comments on commit 2bae8ff

Please sign in to comment.