diff options
author | Vitaly Takmazov | 2018-05-10 18:52:34 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-05-10 18:52:34 +0300 |
commit | 1d77a4a23891eddfb6e17044e69ded949fb6a278 (patch) | |
tree | 2a3d47673e103197418daedf37201fe5239ddeba /juick-www/src/main | |
parent | 9ec026f7cf42facbfdb6ad0330533ae2e1de24cd (diff) |
www: fix processing service messages
Diffstat (limited to 'juick-www/src/main')
-rw-r--r-- | juick-www/src/main/assets/scripts.js | 2 |
1 files changed, 1 insertions, 1 deletions
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); |