.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Captain ALM 2022-07-30 22:22:40 +01:00
parent 489ec3a7df
commit 2e7595d639
Signed by: alfred
GPG Key ID: 4E4ADD02609997B1

View File

@ -88,7 +88,9 @@ function PushHistory(url) {
window.history.replaceState(objectData, "", url); window.history.replaceState(objectData, "", url);
ReplaceNeeded = false ReplaceNeeded = false
} }
window.history.pushState( objectData, "", url); window.history.pushState(objectData, "", url);
console.log("PUSH")
console.log(objectData)
s = false s = false
} }
} }
@ -137,6 +139,8 @@ function SetupJSHPL(){
} }
} }
function HandleHistoryPop(event) { function HandleHistoryPop(event) {
console.log("POP")
console.log(event.state)
if (event.state) { if (event.state) {
SortOrderEnabled = false SortOrderEnabled = false
var isnl = !document.getElementById("so-theme") var isnl = !document.getElementById("so-theme")