This commit is contained in:
psychobunny
2014-09-25 11:39:17 -04:00
parent 467d486e58
commit 12af6a33b5

View File

@@ -14,6 +14,10 @@ define('forum/infinitescroll', function() {
callback = cb;
topOffset = _topOffest || 0;
$(window).off('scroll', onScroll).on('scroll', onScroll);
if ($(document).height() === $(window).height()) {
callback(1);
}
};
function onScroll() {