From 55c3793c0e6f33bf35c201e795cb7a46b18fd8ee Mon Sep 17 00:00:00 2001 From: Captain ALM Date: Sat, 30 Jul 2022 23:33:35 +0100 Subject: [PATCH] . --- index.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 00e6d32..8d59f0a 100644 --- a/index.js +++ b/index.js @@ -98,7 +98,13 @@ function PushHistory(url) { order: document.getElementById("so-order").value, sort: document.getElementById("so-sort").value }, "", url); - console.log("PUSH") + 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") s = false } }