Prechádzať zdrojové kódy

reenable status timer when rebooting

Christian Herzog 5 rokov pred
rodič
commit
220f039be3
1 zmenil súbory, kde vykonal 4 pridanie a 1 odobranie
  1. 4 1
      components/wifi-manager/code.js

+ 4 - 1
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();