1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-15 06:53:07 +01:00

handle build version for ci builds

This commit is contained in:
andreas
2023-10-06 19:57:32 +02:00
parent 1da9fea9a4
commit 10058cfeec
5 changed files with 58 additions and 17 deletions

View File

@@ -50,7 +50,8 @@ const fillValues=(values,items)=>{
items.forEach((it)=>{
let e=document.getElementById(it);
if (e){
values[it]=e.value; //TODO: type of el
if (e.tagName == 'INPUT') values[it]=e.value;
if (e.tagName == 'DIV' || e.tagName == 'SPAN') values [it]=e.textContent;
}
})
};