From eecc766a5ed2ee6e5b4842a18ba06a8f5e4d9c71 Mon Sep 17 00:00:00 2001 From: Christian Herzog Date: Wed, 25 Sep 2019 17:54:55 +0200 Subject: [PATCH] enable menu in recovery --- components/wifi-manager/code.js | 4 ---- components/wifi-manager/index.html | 6 +++--- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/components/wifi-manager/code.js b/components/wifi-manager/code.js index 99010f33..21b07049 100644 --- a/components/wifi-manager/code.js +++ b/components/wifi-manager/code.js @@ -280,7 +280,6 @@ $(document).ready(function(){ }); }); - //first time the page loads: attempt to get the connection status and start the wifi scan refreshAP(); getConfig(); @@ -478,9 +477,6 @@ function getConfig() { if (data.hasOwnProperty('recovery')) { if (data["recovery"] === 1) { recovery = true; - $("#tab-wifi").removeClass("active show"); - $("#tab-system").addClass("active show"); - $("#navbar").hide(); $("#recoverydiv").hide(); $("#otadiv").show(); } else { diff --git a/components/wifi-manager/index.html b/components/wifi-manager/index.html index b0241e0c..21dcec57 100644 --- a/components/wifi-manager/index.html +++ b/components/wifi-manager/index.html @@ -5,7 +5,7 @@ - + @@ -13,9 +13,9 @@ - +