fix, again again
This commit is contained in:
parent
0f80f3ce4c
commit
1a5b8440a2
1 changed files with 2 additions and 0 deletions
|
@ -158,6 +158,7 @@ function triggerSliders(generate) {
|
||||||
overrideElement.addEventListener("input", (e) => {
|
overrideElement.addEventListener("input", (e) => {
|
||||||
sliderElement.disabled = !func(e.target);
|
sliderElement.disabled = !func(e.target);
|
||||||
if (!func(overrideElement)) sliderElement.classList.add("off");
|
if (!func(overrideElement)) sliderElement.classList.add("off");
|
||||||
|
else sliderElement.classList.remove("off");
|
||||||
});
|
});
|
||||||
|
|
||||||
// Update description on attribute change
|
// Update description on attribute change
|
||||||
|
@ -191,6 +192,7 @@ function triggerSliders(generate) {
|
||||||
|
|
||||||
sliderElement.disabled = !func(overrideElement);
|
sliderElement.disabled = !func(overrideElement);
|
||||||
if (!func(overrideElement)) sliderElement.classList.add("off");
|
if (!func(overrideElement)) sliderElement.classList.add("off");
|
||||||
|
else sliderElement.classList.remove("off");
|
||||||
|
|
||||||
updateDescription(
|
updateDescription(
|
||||||
description[0],
|
description[0],
|
||||||
|
|
Loading…
Reference in a new issue