v1.18.x
barisusakli 9 years ago
parent cf00371892
commit 07266eab9e

@ -23,6 +23,9 @@ define('forum/infinitescroll', ['translator'], function(translator) {
}; };
function onScroll() { function onScroll() {
if (loadingMore) {
return;
}
var currentScrollTop = $(window).scrollTop(); var currentScrollTop = $(window).scrollTop();
var wh = $(window).height(); var wh = $(window).height();
var viewportHeight = container.height() - wh; var viewportHeight = container.height() - wh;

Loading…
Cancel
Save