Skip to content

Commit

Permalink
TempSelectUpdate (#386)
Browse files Browse the repository at this point in the history
Update to correct how the temperature type selection saves to stop user having to select it twice.
  • Loading branch information
thegreatgunbantoad authored Jun 14, 2020
1 parent 3e053ff commit e584bf2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pio/lib/WiFiManagerKT/WiFiManagerKT.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,12 @@ window.onload = function (e) {
}
value = $('selAPI').value;
sAPI(value);
$('TS').value = $('tempscale').value; sTS();
$('TS').value = $('tempscale').value;
fillopt();
$('API').querySelector('option[value="'+value+'"]').selected = true;
}
window.onchange = function (e) {
sTS();
};</script>)V0G0N";

const char HTTP_API_LIST[] PROGMEM = R"V0G0N(
Expand Down

0 comments on commit e584bf2

Please sign in to comment.