diff --git a/assets/js/common/ws.js b/assets/js/common/ws.js index 9b3bc9b6..a956c2d6 100644 --- a/assets/js/common/ws.js +++ b/assets/js/common/ws.js @@ -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); }