From 1a5b8440a206b57657c13fa2ac58b9978cf25bef Mon Sep 17 00:00:00 2001 From: MeowcaTheoRange Date: Wed, 3 Jan 2024 02:39:11 -0600 Subject: [PATCH] fix, again again --- scripts/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/index.js b/scripts/index.js index 31d5852..5beff90 100644 --- a/scripts/index.js +++ b/scripts/index.js @@ -158,6 +158,7 @@ function triggerSliders(generate) { overrideElement.addEventListener("input", (e) => { sliderElement.disabled = !func(e.target); if (!func(overrideElement)) sliderElement.classList.add("off"); + else sliderElement.classList.remove("off"); }); // Update description on attribute change @@ -191,6 +192,7 @@ function triggerSliders(generate) { sliderElement.disabled = !func(overrideElement); if (!func(overrideElement)) sliderElement.classList.add("off"); + else sliderElement.classList.remove("off"); updateDescription( description[0],