Skip to content

Commit

Permalink
Fix for jQuery 1.9.0
Browse files Browse the repository at this point in the history
jQuery 1.9.0 doesn't have the $.event.handle property, so you need to use jQuery's API.

metafizzy@3c571e2
  • Loading branch information
Nico Fuchs committed Feb 4, 2013
1 parent 618ff92 commit 511967c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 38 deletions.
2 changes: 1 addition & 1 deletion jquery.infinitescroll.js
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@

if (scrollTimeout) { clearTimeout(scrollTimeout); }
scrollTimeout = setTimeout(function () {
$.event.handle.apply(context, args);
$(context).trigger('smartscroll', args);
}, execAsap === "execAsap" ? 0 : 100);
}
};
Expand Down
38 changes: 1 addition & 37 deletions jquery.infinitescroll.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 511967c

Please sign in to comment.