Permalink
Browse files

Issue #215 Switched the null parameter in the load() call to undefine…

…d to satisfy a bug in a jQuery 1.8 release.
  • Loading branch information...
67726e committed Oct 23, 2012
1 parent 0efbbd0 commit 12acfc8caea295d0b3840abb4d8b3625c87c268c
Showing with 2 additions and 2 deletions.
  1. +1 −1 jquery.infinitescroll.js
  2. +1 −1 jquery.infinitescroll.min.js
View
@@ -508,7 +508,7 @@
case 'html+callback':
instance._debug('Using HTML via .load() method');
- box.load(desturl + ' ' + opts.itemSelector, null, function infscr_ajax_callback(responseText) {
+ box.load(desturl + ' ' + opts.itemSelector, undefined, function infscr_ajax_callback(responseText) {
instance._loadcallback(box, responseText);
});
Oops, something went wrong.

0 comments on commit 12acfc8

Please sign in to comment.