bruh
This commit is contained in:
parent
eec3401f2f
commit
0f80f3ce4c
1 changed files with 1 additions and 0 deletions
|
@ -157,6 +157,7 @@ function triggerSliders(generate) {
|
||||||
// Disable on override condition
|
// Disable on override condition
|
||||||
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");
|
||||||
});
|
});
|
||||||
|
|
||||||
// Update description on attribute change
|
// Update description on attribute change
|
||||||
|
|
Loading…
Reference in a new issue