aboutsummaryrefslogtreecommitdiff
path: root/juick-www
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-05-10 18:52:34 +0300
committerGravatar Vitaly Takmazov2018-05-10 18:52:34 +0300
commit1d77a4a23891eddfb6e17044e69ded949fb6a278 (patch)
tree2a3d47673e103197418daedf37201fe5239ddeba /juick-www
parent9ec026f7cf42facbfdb6ad0330533ae2e1de24cd (diff)
www: fix processing service messages
Diffstat (limited to 'juick-www')
-rw-r--r--juick-www/src/main/assets/scripts.js2
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);