diff --git a/web/js/script.js b/web/js/script.js index 0e64553..937e627 100644 --- a/web/js/script.js +++ b/web/js/script.js @@ -60,7 +60,7 @@ function processInfo() { return true; } - document.location.reload(); + window.location.reload(); return false; } @@ -144,7 +144,7 @@ function schedule() { function reload() { setTimeout(() => { - document.location.reload(); + window.location.reload(); }, 3000); } @@ -181,7 +181,7 @@ function connect() { ws.onerror = function(e) { ws.close(); if (!booting) { - document.location.reload(); + window.location.reload(); } }; }