Corrected the Infinite Scroll CSS Selectors

Thanks dcostalis for making me aware of the issue!
This commit is contained in:
Craig Andrews 2009-08-11 23:05:46 -04:00
parent c29892c875
commit 2260cf20f5

View File

@ -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();
});