diff options
author | Craig Andrews <candrews@integralblue.com> | 2009-08-11 23:05:46 -0400 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2009-08-11 23:05:46 -0400 |
commit | 2260cf20f5cbbda13fa470b55509c89f4f1e08e7 (patch) | |
tree | b88621c810c99ac117ec3e05ddbeace4a30f8547 | |
parent | c29892c87573e0575b9a4a13210c562e08411148 (diff) |
Corrected the Infinite Scroll CSS Selectors
Thanks dcostalis for making me aware of the issue!
-rw-r--r-- | plugins/InfiniteScroll/infinitescroll.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/InfiniteScroll/infinitescroll.js b/plugins/InfiniteScroll/infinitescroll.js index 4bd315b6f..6513072d0 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 : "<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(); }); |