Skip to content

Commit f16af4d

Browse files
sjorsrijsdamfieg
authored andcommitted
Fix scoping bug in container getter
1 parent ada44e5 commit f16af4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/jquery-ias.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
* @returns {object}
7979
*/
8080
this.getItemsContainer = function() {
81-
return $(this.itemsContainerSelector);
81+
return $(this.itemsContainerSelector, this.$container);
8282
};
8383

8484
/**
@@ -245,7 +245,7 @@
245245
}
246246
});
247247
});
248-
248+
249249
promise.fail(function() {
250250
if (callback) {
251251
callback();

0 commit comments

Comments
 (0)