This commit is contained in:
MeowcaTheoRange 2024-01-03 02:38:16 -06:00
parent eec3401f2f
commit 0f80f3ce4c

View file

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