Skip to content

Commit 7019d4c

Browse files
committed
fix: replace hardcoded .parentNode with abstract ops, fix #8713
1 parent d280937 commit 7019d4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/core/vdom/patch.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ export function createPatchFunction (backend) {
272272
function insert (parent, elm, ref) {
273273
if (isDef(parent)) {
274274
if (isDef(ref)) {
275-
if (ref.parentNode === parent) {
275+
if (nodeOps.parentNode(ref) === parent) {
276276
nodeOps.insertBefore(parent, elm, ref)
277277
}
278278
} else {

0 commit comments

Comments
 (0)