Node.js based forum software built for the modern web
only attempt to remove address bar if current position is at the top of screen
Julian Lama5265779275a
diff --git a/public/src/app.js b/public/src/app.jsindex d7097f91e7..e24e2500dd 100644--- a/public/src/app.js+++ b/public/src/app.js@@ -254,7 +254,9 @@ app.uid = null;app.replaceSelfLinks();setTimeout(function () {- window.scrollTo(0, 1); // rehide address bar on mobile after page load completes.+ if (window.scrollY === 0) {+ window.scrollTo(0, 1); // rehide address bar on mobile after page load completes.+ }}, 100);};