From d241d6757ff48a3ef70c52f5d21e9cd6a0fea2f5 Mon Sep 17 00:00:00 2001 From: Oliver Giles Date: Sat, 30 Jun 2018 19:42:11 +0300 Subject: [PATCH] resolves #58: 'connecting' overlay not removed Now that the 'status' message can be used also as an update (since 2a14567), extra care has to be taken with the popup reconnecting overlay --- src/resources/js/app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/resources/js/app.js b/src/resources/js/app.js index 05be820..d8d14a4 100644 --- a/src/resources/js/app.js +++ b/src/resources/js/app.js @@ -44,6 +44,7 @@ const WebsocketHandler = function() { if (!this.comp) return console.error("Page component was undefined"); else { + this.comp.$root.connected = true; this.comp.$root.showNotify(msg.type, msg.data); if(typeof this.comp[msg.type] === 'function') this.comp[msg.type](msg.data);