This commit is contained in:
parent
489ec3a7df
commit
2e7595d639
6
index.js
6
index.js
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user