Infinite Scroll Polish Irish not working

Paul Irish has an infinScroll plugin, I used it before, it will not work for me in this case,

The problem is that the "Show When" thing is negative, please see:

enter image description here

I tried to check the hacks to make this work, I started playing with things, and when I touched bufferPX , I get this error if I try to use bufferPX 2000 - 3000 or more.

TypeError: I.join is not a function

 ApplicationHelper.GroupViewMember.MainSection.find('> section.information > section.wall > section.wall_container') .infinitescroll({ navSelector : "section.navigation_wall", nextSelector : "section.navigation_wall a.next:last", itemSelector : 'section.wall_entry', dataType : 'html', bufferPx : 100, debug : true, pathParse: function(path,page){ return $(this.nextSelector).attr("href"); } }, function(newElements, data, url){ }); 

The paths are correct, I tested them.

+4
source share
1 answer
 pathParse: function(path,page){ return $(this.nextSelector).attr("href"); } 

to

 path: function(path,page){ return $(this.nextSelector).attr("href"); } 
+2
source

All Articles