mirror of
https://github.com/Juicysteak117/pghrt.git
synced 2025-12-21 15:35:25 +00:00
delete files that are actually built and amend one line of js
This commit is contained in:
@@ -135,7 +135,7 @@ function returnScroll() {
|
||||
const scrollArray = JSON.parse(sessionStorage.getItem("scrollPos") ?? "[]").map(num => Number(num));
|
||||
// check if saved, otherwise goto top and remove back arrow
|
||||
if (scrollArray.length > 1) {
|
||||
pos = scrollArray.shift();
|
||||
let pos = scrollArray.shift();
|
||||
sessionStorage.setItem("scrollPos", JSON.stringify(scrollArray));
|
||||
window.scroll(0, pos);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user