Permalink
Browse files

Fix to make it working with 1.9.0 jQuery

jQuery at 1.9.0 don't have $.event.handle property so you need to use jQuery's API.
  • Loading branch information...
1 parent 614efa3 commit 3c571e2d2cd3f1444b3b172fd4dbe17722296f22 @misiek08 misiek08 committed Jan 26, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 jquery.infinitescroll.js
@@ -797,7 +797,7 @@
if (scrollTimeout) { clearTimeout(scrollTimeout); }
scrollTimeout = setTimeout(function () {
- $.event.handle.apply(context, args);
+ $(context).trigger('smartscroll', args);
}, execAsap === "execAsap" ? 0 : 100);
}
};

0 comments on commit 3c571e2

Please sign in to comment.