aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-10-28 14:44:05 +0500
committerAbyss777 <abyss@fox5.ru>2016-10-28 14:44:05 +0500
commit6bcc6ab2a9cd097e543ede5ee520034221045b3e (patch)
treefc591e0ebfd98beb287ab8d5332109a0ada7a7ea /web
parent3c06d96a76f09e918ff6683596ee4ab91e774110 (diff)
downloadetbsa-traccar-web-6bcc6ab2a9cd097e543ede5ee520034221045b3e.tar.gz
etbsa-traccar-web-6bcc6ab2a9cd097e543ede5ee520034221045b3e.tar.bz2
etbsa-traccar-web-6bcc6ab2a9cd097e543ede5ee520034221045b3e.zip
Use variable
Diffstat (limited to 'web')
-rw-r--r--web/app/view/MapController.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/MapController.js b/web/app/view/MapController.js
index b2dcd75..050adce 100644
--- a/web/app/view/MapController.js
+++ b/web/app/view/MapController.js
@@ -215,7 +215,7 @@ Ext.define('Traccar.view.MapController', {
])
])
});
- liveLine.setStyle(this.getRouteStyle(position.get('deviceId')));
+ liveLine.setStyle(this.getRouteStyle(deviceId));
this.liveRoutes[deviceId] = liveLine;
this.getView().getLiveRouteSource().addFeature(liveLine);
}