From 220f039be372b9ab983e051ee27ef4c609c00dfe Mon Sep 17 00:00:00 2001 From: Christian Herzog Date: Sun, 20 Oct 2019 10:52:45 +0200 Subject: [PATCH] reenable status timer when rebooting --- components/wifi-manager/code.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/components/wifi-manager/code.js b/components/wifi-manager/code.js index 605b4bd2..84b873db 100644 --- a/components/wifi-manager/code.js +++ b/components/wifi-manager/code.js @@ -213,7 +213,6 @@ $(document).ready(function(){ }, complete: function(response) { console.log('reboot call completed'); - } }); } @@ -427,6 +426,10 @@ $(document).ready(function(){ } }); + $('#boot-button').on("click", function(){ + enableStatusTimer = true; + }); + //first time the page loads: attempt to get the connection status and start the wifi scan refreshAP(); getConfig();