aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/assets/scripts.js
diff options
context:
space:
mode:
Diffstat (limited to 'juick-www/src/main/assets/scripts.js')
-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);