Skip to content

Commit 48edb95

Browse files
authored
Update scriptlets.js
1 parent 1a609b1 commit 48edb95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scriptlets.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function removeNode(
1818
if ( nodes.length > 0 ) {
1919
for (const node of nodes) {
2020
if (reNeedle.test(node.outerHTML)) {
21-
node.remove();
21+
node.replaceChildren();
2222
}
2323
}
2424
}

0 commit comments

Comments
 (0)