1
0
Falko Schindler 2 жил өмнө
parent
commit
6037a257c3

+ 2 - 2
nicegui/static/templates/main.html

@@ -89,8 +89,8 @@
             window.location.reload();
         });
 
-        var unloading = False;
-        window.onbeforeunload = function () { unloading = True; }
+        var unloading = false;
+        window.onbeforeunload = function () { unloading = true; }
 
         var web_socket_closed = false;
         socket.addEventListener('close', function (event) {