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.
2 parents 400f8bf + 5a4e1b7 commit c0139e5Copy full SHA for c0139e5
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