Fix scroll position on Settings deep links
This commit is contained in:
parent
f7b7327779
commit
953d4125f6
|
@ -1599,16 +1599,16 @@ window.addEventListener("DOMContentLoaded", (event) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
window.requestAnimationFrame(() => {
|
window.requestAnimationFrame(() => {
|
||||||
window.scrollTo(0, 0);
|
window.location.hash = window.location.hash;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
|
|
||||||
// Show the requested tab on first page load.
|
// Show the requested tab on first page load.
|
||||||
showTab(window.location.hash.replace(/^#/, ''));
|
showTab(window.location.hash.replace(/^#/, ''));
|
||||||
// window.requestAnimationFrame(() => {
|
window.requestAnimationFrame(() => {
|
||||||
// window.scrollTo(0, 0);
|
window.location.hash = window.location.hash;
|
||||||
// });
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
// Look & Feel tab scripts.
|
// Look & Feel tab scripts.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user