Skip to content

Commit d0fdaf2

Browse files
committed
move updateTypeDropdowns()
1 parent d89b7f9 commit d0fdaf2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

wled00/data/settings_leds.htm

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@
267267
}
268268

269269
// enable/disable LED fields
270+
updateTypeDropdowns(); // restrict bus types in dropdowns to max allowed digital/analog buses
270271
let dC = 0; // count of digital buses (for parallel I2S)
271272
let LTs = d.Sf.querySelectorAll("#mLC select[name^=LT]");
272273
LTs.forEach((s,i)=>{
@@ -433,8 +434,6 @@
433434
gId('fpsNone').style.display = (d.Sf.FR.value == 0) ? 'block':'none';
434435
gId('fpsWarn').style.display = (d.Sf.FR.value == 0) || (d.Sf.FR.value >= 80) ? 'block':'none';
435436
gId('fpsHigh').style.display = (d.Sf.FR.value >= 80) ? 'block':'none';
436-
// restrict bus types in dropdowns to max allowed digital/analog buses
437-
updateTypeDropdowns();
438437
}
439438
function lastEnd(i) {
440439
if (i-- < 1) return 0;

0 commit comments

Comments
 (0)