potential fix #270 (number of inverter channels was a fixed value of 5)

This commit is contained in:
lumapu 2022-09-19 10:59:19 +02:00
parent 50bfbf8a38
commit aca1688ceb
2 changed files with 2 additions and 2 deletions

View file

@ -62,7 +62,7 @@
main.appendChild(ch0);
for(var i = 1; i < 5; i++) {
for(var i = 1; i < (iv["channels"] + 1); i++) {
var ch = div(["ch"]);
ch.appendChild(span(("" == iv["ch_names"][i]) ? ("CHANNEL " + i) : iv["ch_names"][i], ["head"]));