mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2026-02-21 10:27:22 +08:00
Update script.js
This commit is contained in:
parent
36a717d3ce
commit
230bebc296
@ -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();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user