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.
1 parent 5837d2f commit 5a4e1b7Copy full SHA for 5a4e1b7
src/directives/if.js
@@ -90,7 +90,7 @@ module.exports = {
90
var next
91
while (next !== end) {
92
next = cur.nextSibling
93
- if (cur.contains(c.$el)) {
+ if (cur.contains && cur.contains(c.$el)) {
94
return true
95
}
96
cur = next
0 commit comments