Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 3c571e2d2cd3f1444b3b172fd4dbe17722296f22 1 parent 614efa3
@misiek08 misiek08 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  jquery.infinitescroll.js
View
2  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);
}
};
Please sign in to comment.
Something went wrong with that request. Please try again.