]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - plugins/InfiniteScroll/infinitescroll.js
Merge branch '0.9-release'
[quix0rs-gnu-social.git] / plugins / InfiniteScroll / infinitescroll.js
1 jQuery(document).ready(function($){
2   $('notices_primary').infinitescroll({
3     debug: false,
4     infiniteScroll  : false,
5     nextSelector    : 'body#public li.nav_next a,'+
6                       'body#all li.nav_next a,'+
7                       'body#showstream li.nav_next a,'+
8                       'body#replies li.nav_next a,'+
9                       'body#showfavorites li.nav_next a,'+
10                       'body#showgroup li.nav_next a,'+
11                       'body#favorited li.nav_next a',
12     loadingImg      : $('address .url')[0].href+'plugins/InfiniteScroll/ajax-loader.gif',
13     text            : "<em>Loading the next set of posts...</em>",
14     donetext        : "<em>Congratulations, you\'ve reached the end of the Internet.</em>",
15     navSelector     : ".pagination",
16     contentSelector : "#notices_primary ol.notices",
17     itemSelector    : "#notices_primary ol.notices li"
18     },function(){
19         SN.Init.Notices();
20     });
21 });