From c1eb91d66a9f70ae10285f0b2d2fe82830fc5876 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 23 Dec 2015 19:09:39 +1300 Subject: Fix JavaScript warnings and style issues --- web/app/controller/Root.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/app/controller') 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; -- cgit v1.2.3