Skip to content

Commit

Permalink
clone isComment when cloneVNode (#5633)
Browse files Browse the repository at this point in the history
  • Loading branch information
pengchongfu authored and yyx990803 committed May 9, 2017
1 parent b5b1ac3 commit 5d965d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/vdom/vnode.js
Expand Up @@ -84,6 +84,7 @@ export function cloneVNode (vnode: VNode): VNode {
cloned.ns = vnode.ns
cloned.isStatic = vnode.isStatic
cloned.key = vnode.key
cloned.isComment = vnode.isComment
cloned.isCloned = true
return cloned
}
Expand Down

0 comments on commit 5d965d5

Please sign in to comment.