From 42cc8e43e1faf0ed43073d4982dd0ae1a43f1811 Mon Sep 17 00:00:00 2001 From: Captain ALM Date: Sat, 30 Jul 2022 22:44:54 +0100 Subject: [PATCH] . --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index f485fcb..2f9d64d 100644 --- a/index.js +++ b/index.js @@ -93,13 +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("PUSH") - ReplaceHistory(url) s = false } }