Skip to content

Node.js based forum software built for the modern web

fixed #2656

Julian Lamd102ff0704ad
diff --git a/public/src/app.js b/public/src/app.js
index e24e2500dd..35037c8033 100644
--- a/public/src/app.js
+++ b/public/src/app.js
@@ -253,11 +253,8 @@ app.uid = null;
app.replaceSelfLinks();
- setTimeout(function () {
- if (window.scrollY === 0) {
- window.scrollTo(0, 1); // rehide address bar on mobile after page load completes.
- }
- }, 100);
+ // Scroll back to top of page
+ window.scrollTo(0, 0);
};
app.showLoginMessage = function () {