mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-25 21:39:21 +00:00
Fix reset loop
This commit is contained in:
parent
437b4cba1b
commit
e710450983
@ -112,7 +112,8 @@ class UserWebSocket {
|
||||
notify("Disconnected from the server, page will be reloaded in "+num_seconds+" seconds !", "danger");
|
||||
|
||||
setTimeout(() => {
|
||||
ComunicWeb.common.system.reset();
|
||||
if (!this.IsConnected)
|
||||
ComunicWeb.common.system.reset();
|
||||
}, num_seconds*1000);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user