aboutsummaryrefslogtreecommitdiff
path: root/web/app/view
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/view
parent8ac2a257cf47c95296324c038b37ef36c5b26f50 (diff)
downloadtrackermap-server-c1eb91d66a9f70ae10285f0b2d2fe82830fc5876.tar.gz
trackermap-server-c1eb91d66a9f70ae10285f0b2d2fe82830fc5876.tar.bz2
trackermap-server-c1eb91d66a9f70ae10285f0b2d2fe82830fc5876.zip
Fix JavaScript warnings and style issues
Diffstat (limited to 'web/app/view')
-rw-r--r--web/app/view/Devices.js2
-rw-r--r--web/app/view/MapController.js2
2 files changed, 2 insertions, 2 deletions
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];