Browse Source

Fixed minor css issues on restart panel

Toby Chui 3 years ago
parent
commit
a666ef9b5f
1 changed files with 3 additions and 1 deletions
  1. 3 1
      web/SystemAO/updates/index.html

+ 3 - 1
web/SystemAO/updates/index.html

@@ -260,12 +260,14 @@
             $.get("/system/update/restart", function(data){
                 if (data.error !== undefined){
                     //No launcher
+                    $("#restartPanel").hide();
                 }else{
                     $("#launcherName").text(data);
+                    $("#restartPanel").show();
                 }
                 console.log("Launcher check: ", data);
             })
-            $("#restartPanel").show();
+           
         }
 
         function restartArozOS(){