mirror of
https://github.com/lumapu/ahoy.git
synced 2025-06-01 10:11:37 +02:00
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:
parent
6fc5fb75b2
commit
ea991a7723
7 changed files with 24 additions and 13 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue