wrong order

This commit is contained in:
MeowcaTheoRange 2024-01-03 02:33:20 -06:00
parent 4ed1b54bd5
commit 198d87173f

View file

@ -279,9 +279,9 @@ function parseURL() {
document.addEventListener("DOMContentLoaded", () => triggerSliders(true)); document.addEventListener("DOMContentLoaded", () => triggerSliders(true));
return; return;
} }
triggerSliders(false);
nameElement.value = urlParams.get("n") || ""; nameElement.value = urlParams.get("n") || "";
decode(urlParams.get("s")); decode(urlParams.get("s"));
triggerSliders(false);
sliders.forEach(([slider, override]) => { sliders.forEach(([slider, override]) => {
document.body.classList.add("readOnly"); document.body.classList.add("readOnly");
nameElement.classList.add("ro"); nameElement.classList.add("ro");