mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-06-30 16:53:28 +00:00
Reset instead of restarting
This commit is contained in:
@ -62,7 +62,7 @@ class UserWebSocket {
|
|||||||
notify("Disconnected from the server, page will be reloaded in "+num_seconds+" seconds !", "danger");
|
notify("Disconnected from the server, page will be reloaded in "+num_seconds+" seconds !", "danger");
|
||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
ComunicWeb.common.system.restart();
|
ComunicWeb.common.system.reset();
|
||||||
}, num_seconds*1000);
|
}, num_seconds*1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user