소스 검색

fix typos

Falko Schindler 2 년 전
부모
커밋
6037a257c3
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      nicegui/static/templates/main.html

+ 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) {