From 95267d4b3e94e998c61690899cd6e9377cc7fa1c Mon Sep 17 00:00:00 2001 From: Christian Herzog Date: Wed, 4 Mar 2020 19:04:57 +0100 Subject: [PATCH] some cleanup --- components/wifi-manager/code.js | 4 +++- components/wifi-manager/index.html | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/components/wifi-manager/code.js b/components/wifi-manager/code.js index 6a6f12f5..139c8b2f 100644 --- a/components/wifi-manager/code.js +++ b/components/wifi-manager/code.js @@ -800,21 +800,23 @@ function checkStatus(){ $("#otadiv").show(); $('a[href^="#tab-audio"]').hide(); $('a[href^="#tab-gpio"]').show(); + $('#uploaddiv').show(); $("footer.footer").removeClass('sl'); $("footer.footer").addClass('recovery'); $("#boot-button").html('Reboot'); $("#boot-form").attr('action', '/reboot_ota.json'); + enableStatusTimer = true; } else { recovery = false; $("#otadiv").hide(); $('a[href^="#tab-audio"]').show(); $('a[href^="#tab-gpio"]').hide(); + $('#uploaddiv').hide(); $("footer.footer").removeClass('recovery'); $("footer.footer").addClass('sl'); $("#boot-button").html('Recovery'); $("#boot-form").attr('action', '/recovery.json'); - $('#uploaddiv"]').hide(); enableStatusTimer = false; } diff --git a/components/wifi-manager/index.html b/components/wifi-manager/index.html index 154376f8..cdd97274 100644 --- a/components/wifi-manager/index.html +++ b/components/wifi-manager/index.html @@ -17,6 +17,7 @@ +