fix #389 prevent connect to default Wifi 'YOUR_WIFI_SSID'

implemented #388 add inverter Id to the front of serial print
fix inverter serial number length in input field (api.js)
This commit is contained in:
lumapu 2022-11-06 00:09:29 +01:00
parent 6fc5fb75b2
commit ea991a7723
7 changed files with 24 additions and 13 deletions

View file

@ -90,7 +90,7 @@ function inp(name, val, max=32, cl=["text"], id=null, type=null) {
e.classList.add(...cl);
e.name = name;
e.value = val;
if(null != type) e.maxLength = max;
if(null != max) e.maxLength = max;
if(null != id) e.id = id;
if(null != type) e.type = type;
return e;