aboutsummaryrefslogtreecommitdiff
path: root/web/app/controller/Root.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-12-23 19:09:39 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-12-23 19:09:39 +1300
commitc1eb91d66a9f70ae10285f0b2d2fe82830fc5876 (patch)
tree90c15c602667ed3f252a6cf45ebca6ba87ade6bb /web/app/controller/Root.js
parent8ac2a257cf47c95296324c038b37ef36c5b26f50 (diff)
downloadtraccar-server-c1eb91d66a9f70ae10285f0b2d2fe82830fc5876.tar.gz
traccar-server-c1eb91d66a9f70ae10285f0b2d2fe82830fc5876.tar.bz2
traccar-server-c1eb91d66a9f70ae10285f0b2d2fe82830fc5876.zip
Fix JavaScript warnings and style issues
Diffstat (limited to 'web/app/controller/Root.js')
-rw-r--r--web/app/controller/Root.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/controller/Root.js b/web/app/controller/Root.js
index fd76ab159..7978d1b1b 100644
--- a/web/app/controller/Root.js
+++ b/web/app/controller/Root.js
@@ -84,7 +84,7 @@ Ext.define('Traccar.controller.Root', {
},
asyncUpdate: function (first) {
- var socket = new WebSocket("ws://" + window.location.host + "/api/socket");
+ var socket = new WebSocket('ws://' + window.location.host + '/api/socket');
socket.onmessage = function (event) {
var i, store, data, array, entity;