From 1d77a4a23891eddfb6e17044e69ded949fb6a278 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 10 May 2018 18:52:34 +0300 Subject: www: fix processing service messages --- juick-www/src/main/assets/scripts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'juick-www') diff --git a/juick-www/src/main/assets/scripts.js b/juick-www/src/main/assets/scripts.js index fdc61e5a..63170d49 100644 --- a/juick-www/src/main/assets/scripts.js +++ b/juick-www/src/main/assets/scripts.js @@ -165,7 +165,7 @@ function initWS() { try { var jsonMsg = JSON.parse(msg.data); console.log('data: ' + msg.data); - if (msg.data.service) { + if (jsonMsg.service) { return; } wsIncomingReply(jsonMsg); -- cgit v1.2.3