This commit is contained in:
parent
55c3793c0e
commit
121cc23cdf
9
index.js
9
index.js
@ -93,18 +93,13 @@ function PushHistory(url) {
|
||||
var s = true
|
||||
if (window.history) {
|
||||
if (window.history.pushState) {
|
||||
ReplaceHistory(url)
|
||||
window.history.pushState({
|
||||
light: !!document.getElementById("so-theme"),
|
||||
order: document.getElementById("so-order").value,
|
||||
sort: document.getElementById("so-sort").value
|
||||
}, "", url);
|
||||
console.log("PUSH1")
|
||||
window.history.pushState({
|
||||
light: !!document.getElementById("so-theme"),
|
||||
order: document.getElementById("so-order").value,
|
||||
sort: document.getElementById("so-sort").value
|
||||
}, "", url);
|
||||
console.log("PUSH2")
|
||||
console.log("PUSH")
|
||||
s = false
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user