aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--web/app/controller/Root.js2
-rw-r--r--web/app/view/Devices.js2
-rw-r--r--web/app/view/MapController.js2
3 files changed, 3 insertions, 3 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;
diff --git a/web/app/view/Devices.js b/web/app/view/Devices.js
index 21bea6980..66c4e813b 100644
--- a/web/app/view/Devices.js
+++ b/web/app/view/Devices.js
@@ -42,7 +42,7 @@ Ext.define('Traccar.view.Devices', {
}, {
xtype: 'tbfill'
}, {
- id:'deviceFollowButton',
+ id: 'deviceFollowButton',
glyph: 'xf05b@FontAwesome',
tooltip: Strings.deviceFollow,
tooltipType: 'title',
diff --git a/web/app/view/MapController.js b/web/app/view/MapController.js
index e4ce53b57..ce420c2ec 100644
--- a/web/app/view/MapController.js
+++ b/web/app/view/MapController.js
@@ -79,7 +79,7 @@ Ext.define('Traccar.view.MapController', {
},
updateDevice: function (store, data) {
- var i, device, deviceId;
+ var i, device, deviceId, marker;
if (!Ext.isArray(data)) {
data = [data];