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
|
var s = true
|
||||||
if (window.history) {
|
if (window.history) {
|
||||||
if (window.history.pushState) {
|
if (window.history.pushState) {
|
||||||
|
ReplaceHistory(url)
|
||||||
window.history.pushState({
|
window.history.pushState({
|
||||||
light: !!document.getElementById("so-theme"),
|
light: !!document.getElementById("so-theme"),
|
||||||
order: document.getElementById("so-order").value,
|
order: document.getElementById("so-order").value,
|
||||||
sort: document.getElementById("so-sort").value
|
sort: document.getElementById("so-sort").value
|
||||||
}, "", url);
|
}, "", url);
|
||||||
console.log("PUSH1")
|
console.log("PUSH")
|
||||||
window.history.pushState({
|
|
||||||
light: !!document.getElementById("so-theme"),
|
|
||||||
order: document.getElementById("so-order").value,
|
|
||||||
sort: document.getElementById("so-sort").value
|
|
||||||
}, "", url);
|
|
||||||
console.log("PUSH2")
|
|
||||||
s = false
|
s = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user