]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/InfiniteScroll/infinitescroll.js
Merge branch '0.8.x' of git://gitorious.org/~brion/statusnet/brion-fixes into 0.8.x
[quix0rs-gnu-social.git] / plugins / InfiniteScroll / infinitescroll.js
index b80bd4ec5e30c1bb5b8a3f925d54eed09080777c..ae4d53d09593fc215e65f9f4353e1b71289dd7d5 100644 (file)
@@ -1,12 +1,15 @@
 jQuery(document).ready(function($){
   $('notices_primary').infinitescroll({
+    debug: true,
+    infiniteScroll  : false,
     nextSelector    : "li.nav_next a",
     loadingImg      : $('address .url')[0].href+'plugins/InfiniteScroll/ajax-loader.gif',
     text            : "<em>Loading the next set of posts...</em>",
     donetext        : "<em>Congratulations, you\'ve reached the end of the Internet.</em>",
     navSelector     : "div.pagination",
-    contentSelector : "#notices_primary",
-    itemSelector    : "ol.notices"
+    contentSelector : "#notices_primary ol.notices",
+    itemSelector    : "#notices_primary ol.notices li"
+    },function(){
+        NoticeAttachments();
     });
 });
-