This commit is contained in:
parent
121cc23cdf
commit
0263964326
2
index.js
2
index.js
@ -148,7 +148,7 @@ function ToggleTheme(p) {
|
|||||||
function SetupJSHPL(){
|
function SetupJSHPL(){
|
||||||
if (window.history) {
|
if (window.history) {
|
||||||
if (window.history.pushState && window.history.replaceState) {
|
if (window.history.pushState && window.history.replaceState) {
|
||||||
document.addEventListener("DOMContentLoaded", cReplaceHistory)
|
//document.addEventListener("DOMContentLoaded", cReplaceHistory)
|
||||||
window.addEventListener("popstate", HandleHistoryPop)
|
window.addEventListener("popstate", HandleHistoryPop)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user