Skip to content

Commit f15c56b

Browse files
committed
refactor: use isTrue
1 parent cf1ff5b commit f15c56b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/core/vdom/create-element.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ function applyNS (vnode, ns, force) {
132132
if (isDef(vnode.children)) {
133133
for (let i = 0, l = vnode.children.length; i < l; i++) {
134134
const child = vnode.children[i]
135-
if (isDef(child.tag) && (isUndef(child.ns) || force)) {
135+
if (isDef(child.tag) && (isUndef(child.ns) || isTrue(force))) {
136136
applyNS(child, ns, force)
137137
}
138138
}

0 commit comments

Comments
 (0)