Update script.js

This commit is contained in:
Kroese 2025-10-08 21:04:13 +02:00 committed by GitHub
parent 36a717d3ce
commit 230bebc296
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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();
}
};
}