Commit 43f43a10 authored by Mathijs den Burger's avatar Mathijs den Burger

CMS7-8367: remove explicit close before page reload

The websocket will always be closed in the disconnect() function on page unload
parent 4a3b6309
......@@ -38,7 +38,6 @@
if (message.command === "reloadPage") {
console.debug("Hippo auto-reload is reloading page...");
isReloadingPage = true;
websocket.close();
reloadPage();
} else {
console.debug("Hippo auto-reload received unknown message:", message);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment