Преглед на файлове

Fixed minor css issues on restart panel

Toby Chui преди 3 години
родител
ревизия
a666ef9b5f
променени са 1 файла, в които са добавени 3 реда и са изтрити 1 реда
  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(){