From 230bebc296e0958e216439f7dbda8a68bec9f762 Mon Sep 17 00:00:00 2001 From: Kroese Date: Wed, 8 Oct 2025 21:04:13 +0200 Subject: [PATCH] Update script.js --- web/js/script.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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(); } }; }