v1.18.x
Julian Lam 8 years ago
parent 06a77143bd
commit 08af924873

@ -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();

Loading…
Cancel
Save