This commit is contained in:
parent
e793bb288d
commit
9ba879666c
1
index.js
1
index.js
@ -143,7 +143,6 @@ function ToggleTheme() {
|
|||||||
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)
|
|
||||||
window.addEventListener("load", cReplaceHistory)
|
window.addEventListener("load", cReplaceHistory)
|
||||||
window.addEventListener("popstate", HandleHistoryPop)
|
window.addEventListener("popstate", HandleHistoryPop)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user