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 @@ - +