diff --git a/gulp/res/js/live.js b/gulp/res/js/live.js index 56ce240a..0cdbe2d6 100644 --- a/gulp/res/js/live.js +++ b/gulp/res/js/live.js @@ -92,7 +92,7 @@ window.addEventListener('settingsReady', function(event) { //after domcontentloa const newPostAnchor = document.getElementById(postData.postId); const newPost = newPostAnchor.nextSibling; if (scrollEnabled) { - if (globalManageRecent) { + if (isGlobalRecent) { window.scrollTo(0, 0); //recent pages are reverse sort, so just go to top } else { newPostAnchor.scrollIntoView(); //scroll to post if enabled;