Skip to content

Commit 273fabd

Browse files
committed
fix undefined variable
1 parent 45f24c3 commit 273fabd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/infinite-ajax-scroll.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ export default class InfiniteAjaxScroll {
357357
this.emitter.once(event, function() { Promise.resolve(callback.apply(this, arguments)).then(resolve) }, this);
358358

359359
if (event === Events.BINDED && this.binded) {
360-
callback.bind(ctx)();
360+
callback.bind(this)();
361361
resolve()
362362
}
363363
})

0 commit comments

Comments
 (0)