This commit is contained in:
parent
f7f8ba936c
commit
42cc8e43e1
2
index.js
2
index.js
@ -93,13 +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("PUSH")
|
console.log("PUSH")
|
||||||
ReplaceHistory(url)
|
|
||||||
s = false
|
s = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user