|
|
@ -23,7 +23,9 @@ define('forum/infinitescroll', function () {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
function onScroll() {
|
|
|
|
function onScroll() {
|
|
|
|
if (loadingMore) {
|
|
|
|
var bsEnv = utils.findBootstrapEnvironment();
|
|
|
|
|
|
|
|
var mobileComposerOpen = (bsEnv === 'xs' || bsEnv === 'sm') && $('html').hasClass('composing');
|
|
|
|
|
|
|
|
if (loadingMore || mobileComposerOpen) {
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
var currentScrollTop = $(window).scrollTop();
|
|
|
|
var currentScrollTop = $(window).scrollTop();
|
|
|
|