make UI more intuitive

This commit is contained in:
Christian Herzog
2019-10-05 11:19:05 +02:00
parent ed18b4a8ce
commit 550b5fbf18
2 changed files with 3 additions and 2 deletions

View File

@@ -175,6 +175,7 @@ $(document).ready(function(){
});
$("input#autoexec-cb").on("click", function() {
showMessage('please wait for the ESP32 to reboot', 'WARNING');
var data = { 'timestamp': Date.now() };
autoexec = (this.checked)?1:0;
data['autoexec'] = autoexec;