fix, again again

This commit is contained in:
MeowcaTheoRange 2024-01-03 02:39:11 -06:00
parent 0f80f3ce4c
commit 1a5b8440a2

View file

@ -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],