We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Node.parentNode
Node.parentElement
1 parent 8513e29 commit 816409aCopy full SHA for 816409a
src/runtime/internal/dom.ts
@@ -163,7 +163,7 @@ export function append_hydration(target: NodeEx, node: NodeEx) {
163
if (is_hydrating) {
164
init_hydrate(target);
165
166
- if ((target.actual_end_child === undefined) || ((target.actual_end_child !== null) && (target.actual_end_child.parentElement !== target))) {
+ if ((target.actual_end_child === undefined) || ((target.actual_end_child !== null) && (target.actual_end_child.parentNode !== target))) {
167
target.actual_end_child = target.firstChild;
168
}
169
0 commit comments