Fix Hub75 shown incorrectly in LED output dropdowns
Call hideHub75() after dynamically adding new LED outputs to ensure Hub75 options are removed when Hub75 support is not compiled in. Co-authored-by: netmindz <442066+netmindz@users.noreply.github.com>
This commit is contained in:
@@ -464,6 +464,7 @@ ${i+1}:
|
||||
<div id="dig${i}a" style="display:inline"><br>Auto-calculate white channel from RGB:<br><select name="AW${i}"><option value=0>None</option><option value=1>Brighter</option><option value=2>Accurate</option><option value=3>Dual</option><option value=4>Max</option></select> </div>
|
||||
</div>`;
|
||||
f.insertAdjacentHTML("beforeend", cn);
|
||||
hideHub75(); // remove Hub75 options if not supported
|
||||
}
|
||||
if (n==-1) {
|
||||
o[--i].remove();--i;
|
||||
|
||||
Reference in New Issue
Block a user