hopefully fixed bug when going back to site after pressing a redirect button
This commit is contained in:
@@ -180,6 +180,16 @@ window.addEventListener("resize", function() {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
window.addEventListener("pageshow", (event) => {
|
||||||
|
if (event.persisted) {
|
||||||
|
// reload page to clear unwanted cache.
|
||||||
|
// for some reason the loading screen stays
|
||||||
|
// permanently open without this.
|
||||||
|
window.location.reload();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
let prevAnimationState = isAnimating
|
let prevAnimationState = isAnimating
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user