diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-08-12 10:50:46 -0700 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-08-12 10:50:46 -0700 |
commit | 7d33478e867cc6610aded42a8f2fa71bae46804d (patch) | |
tree | 73a422fac7006ee40ff51c21922ca22f68cab40d /plugins | |
parent | 01dccefcccc8ca4c1fec419f47cf723d0498c3ef (diff) | |
parent | 853b6d38b362e3a905195d9ff850c9a884d412bd (diff) |
Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.x
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/InfiniteScroll/infinitescroll.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/InfiniteScroll/infinitescroll.js b/plugins/InfiniteScroll/infinitescroll.js index b80bd4ec5..6513072d0 100644 --- a/plugins/InfiniteScroll/infinitescroll.js +++ b/plugins/InfiniteScroll/infinitescroll.js @@ -1,12 +1,15 @@ 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(); }); }); |