Skip to content

Commit

Permalink
Update WiFiManagerKT.h (#260)
Browse files Browse the repository at this point in the history
Fix incorrect API being selected.
  • Loading branch information
ckrack authored and universam1 committed Feb 28, 2019
1 parent 93a73ca commit 77fec03
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pio/lib/WiFiManagerKT/WiFiManagerKT.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,9 @@ window.onload = function (e) {
if (elem) elem.label = labels[i];
}
}
$('API').value = $('selAPI').value;
sAPI($('selAPI').value);
value = $('selAPI').value;
$('API').querySelector('option[value="'+value+'"]').selected = true;
sAPI(value);
$('TS').value = $('tempscale').value; sTS();
fillopt();
};</script>)V0G0N";
Expand Down

0 comments on commit 77fec03

Please sign in to comment.