Skip to content

Commit 1b17529

Browse files
authored
Merge pull request #843 from rasben/feature/fix-this-document
Replace not-working this.document.find()
2 parents a8cf24d + a73477c commit 1b17529

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/jquery.multiselect.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@
113113
if(!!elem.nodeType) {
114114
return $(elem);
115115
}
116-
return this.document.find(elem).eq(0);
116+
117+
return $(elem).eq(0);
117118
}
118119

119120
/**

0 commit comments

Comments
 (0)