Browse Source

little clean coding

pull/345/head
DanielR92 3 years ago
parent
commit
e6627c6934
  1. 2
      tools/esp8266/html/setup.html

2
tools/esp8266/html/setup.html

@ -251,9 +251,9 @@
} }
function parseSun(obj) { function parseSun(obj) {
document.getElementsByName("sunDisNightCom")[0].checked = obj["disnightcom"];
document.getElementsByName("sunLat")[0].value = obj["lat"]; document.getElementsByName("sunLat")[0].value = obj["lat"];
document.getElementsByName("sunLon")[0].value = obj["lon"]; document.getElementsByName("sunLon")[0].value = obj["lon"];
document.getElementsByName("sunDisNightCom")[0].checked = obj["disnightcom"];
} }
function parsePinout(obj) { function parsePinout(obj) {

Loading…
Cancel
Save