This commit is contained in:
parent
489ec3a7df
commit
2e7595d639
4
index.js
4
index.js
@ -89,6 +89,8 @@ function PushHistory(url) {
|
||||
ReplaceNeeded = false
|
||||
}
|
||||
window.history.pushState(objectData, "", url);
|
||||
console.log("PUSH")
|
||||
console.log(objectData)
|
||||
s = false
|
||||
}
|
||||
}
|
||||
@ -137,6 +139,8 @@ function SetupJSHPL(){
|
||||
}
|
||||
}
|
||||
function HandleHistoryPop(event) {
|
||||
console.log("POP")
|
||||
console.log(event.state)
|
||||
if (event.state) {
|
||||
SortOrderEnabled = false
|
||||
var isnl = !document.getElementById("so-theme")
|
||||
|
Loading…
Reference in New Issue
Block a user