mirror of
https://github.com/isledecomp/isle.pizza.git
synced 2026-01-11 18:51:15 +00:00
Make sure to be on top of page
This commit is contained in:
parent
38d165c8b4
commit
86bf3333ff
@ -971,6 +971,7 @@
|
|||||||
|
|
||||||
// Show selected page
|
// Show selected page
|
||||||
page.style.display = 'flex';
|
page.style.display = 'flex';
|
||||||
|
window.scroll(0, 0);
|
||||||
|
|
||||||
if (pushState) {
|
if (pushState) {
|
||||||
const newPath = pageId.replace('-page', '');
|
const newPath = pageId.replace('-page', '');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user