diff --git a/www/js/scrollfix.js b/www/js/scrollfix.js new file mode 100644 index 00000000..31365b54 --- /dev/null +++ b/www/js/scrollfix.js @@ -0,0 +1,7 @@ +/* +* Fix scrolling to middle of page bug +*/ + +$(() => { + window.scrollTo(0, 0); +}) diff --git a/www/themes/new/templates/page.tpl b/www/themes/new/templates/page.tpl index f660520d..84673c22 100644 --- a/www/themes/new/templates/page.tpl +++ b/www/themes/new/templates/page.tpl @@ -286,5 +286,6 @@ $(document).ready(function() { +