From 3885e584238ee278b1d2b975cce1f733d78f241f Mon Sep 17 00:00:00 2001 From: GU Yiling Date: Mon, 10 Sep 2018 05:28:20 +0800 Subject: [PATCH] fix: replace hardcoded .parentNode with abstract ops, fix #8713 (#8714) --- src/core/vdom/patch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/vdom/patch.js b/src/core/vdom/patch.js index fb28d8cd341..676499dc69e 100644 --- a/src/core/vdom/patch.js +++ b/src/core/vdom/patch.js @@ -272,7 +272,7 @@ export function createPatchFunction (backend) { function insert (parent, elm, ref) { if (isDef(parent)) { if (isDef(ref)) { - if (ref.parentNode === parent) { + if (nodeOps.parentNode(ref) === parent) { nodeOps.insertBefore(parent, elm, ref) } } else {