Skip to content

Commit 5355bb8

Browse files
committedMar 5, 2020
fix: forceUseInfiniteWrappre querySelector bug
1 parent dd52d99 commit 5355bb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/components/InfiniteLoading.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ export default {
316316
let result;
317317
318318
if (typeof this.forceUseInfiniteWrapper === 'string') {
319-
result = elm.querySelector(this.forceUseInfiniteWrapper);
319+
result = document.querySelector(this.forceUseInfiniteWrapper);
320320
}
321321
322322
if (!result) {

0 commit comments

Comments
 (0)
Please sign in to comment.