From: Craig Andrews Date: Wed, 12 Aug 2009 03:05:46 +0000 (-0400) Subject: Corrected the Infinite Scroll CSS Selectors X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2260cf20f5cbbda13fa470b55509c89f4f1e08e7;p=quix0rs-gnu-social.git Corrected the Infinite Scroll CSS Selectors Thanks dcostalis for making me aware of the issue! --- diff --git a/plugins/InfiniteScroll/infinitescroll.js b/plugins/InfiniteScroll/infinitescroll.js index 4bd315b6fb..6513072d06 100644 --- a/plugins/InfiniteScroll/infinitescroll.js +++ b/plugins/InfiniteScroll/infinitescroll.js @@ -1,12 +1,13 @@ jQuery(document).ready(function($){ $('notices_primary').infinitescroll({ + debug: true, nextSelector : "li.nav_next a", loadingImg : $('address .url')[0].href+'plugins/InfiniteScroll/ajax-loader.gif', text : "Loading the next set of posts...", donetext : "Congratulations, you\'ve reached the end of the Internet.", navSelector : "div.pagination", - contentSelector : "#notices_primary", - itemSelector : "ol.notices" + contentSelector : "#notices_primary ol.notices", + itemSelector : "#notices_primary ol.notices li" },function(){ NoticeAttachments(); });