Corrected the Infinite Scroll CSS Selectors
Thanks dcostalis for making me aware of the issue!
This commit is contained in:
parent
c29892c875
commit
2260cf20f5
@ -1,12 +1,13 @@
|
|||||||
jQuery(document).ready(function($){
|
jQuery(document).ready(function($){
|
||||||
$('notices_primary').infinitescroll({
|
$('notices_primary').infinitescroll({
|
||||||
|
debug: true,
|
||||||
nextSelector : "li.nav_next a",
|
nextSelector : "li.nav_next a",
|
||||||
loadingImg : $('address .url')[0].href+'plugins/InfiniteScroll/ajax-loader.gif',
|
loadingImg : $('address .url')[0].href+'plugins/InfiniteScroll/ajax-loader.gif',
|
||||||
text : "<em>Loading the next set of posts...</em>",
|
text : "<em>Loading the next set of posts...</em>",
|
||||||
donetext : "<em>Congratulations, you\'ve reached the end of the Internet.</em>",
|
donetext : "<em>Congratulations, you\'ve reached the end of the Internet.</em>",
|
||||||
navSelector : "div.pagination",
|
navSelector : "div.pagination",
|
||||||
contentSelector : "#notices_primary",
|
contentSelector : "#notices_primary ol.notices",
|
||||||
itemSelector : "ol.notices"
|
itemSelector : "#notices_primary ol.notices li"
|
||||||
},function(){
|
},function(){
|
||||||
NoticeAttachments();
|
NoticeAttachments();
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user