Sfoglia il codice sorgente

auto update script executed

Toby Chui 1 anno fa
parent
commit
72479e7edc
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      web/components/status.html

+ 4 - 0
web/components/status.html

@@ -590,6 +590,10 @@
         
     }
 
+    window.addEventListener("focus", function(event){
+        handleChartAccumulateResize();
+    });
+
     document.addEventListener("visibilitychange", () => {
         // it could be either hidden or visible
         //handleChartAccumulateResize();