From 0f80f3ce4cb125eab586b95a0c605fa67b8b548c Mon Sep 17 00:00:00 2001 From: MeowcaTheoRange Date: Wed, 3 Jan 2024 02:38:16 -0600 Subject: [PATCH] bruh --- scripts/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/index.js b/scripts/index.js index dd1a579..31d5852 100644 --- a/scripts/index.js +++ b/scripts/index.js @@ -157,6 +157,7 @@ function triggerSliders(generate) { // Disable on override condition overrideElement.addEventListener("input", (e) => { sliderElement.disabled = !func(e.target); + if (!func(overrideElement)) sliderElement.classList.add("off"); }); // Update description on attribute change