aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-06-20 19:24:01 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-06-20 19:24:01 -0700
commit57cf0db0f1c027bc21b2a921b170aef718a9e451 (patch)
tree1cf4362c50d892b24b7004381d00246a2e1439fc /web
parent98fc2d0749055a132f7e00cbae4333ee83f3eb9b (diff)
downloadtrackermap-web-57cf0db0f1c027bc21b2a921b170aef718a9e451.tar.gz
trackermap-web-57cf0db0f1c027bc21b2a921b170aef718a9e451.tar.bz2
trackermap-web-57cf0db0f1c027bc21b2a921b170aef718a9e451.zip
Fix style issues
Diffstat (limited to 'web')
-rw-r--r--web/app/view/map/BaseMap.js2
-rw-r--r--web/app/view/map/MapMarkerController.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/web/app/view/map/BaseMap.js b/web/app/view/map/BaseMap.js
index 42ea43a1..c089ad02 100644
--- a/web/app/view/map/BaseMap.js
+++ b/web/app/view/map/BaseMap.js
@@ -218,7 +218,7 @@ Ext.define('Traccar.view.map.BaseMap', {
}
});
- this.map.once('postrender', function (event) {
+ this.map.once('postrender', function () {
self.fireEvent('mapready');
});
},
diff --git a/web/app/view/map/MapMarkerController.js b/web/app/view/map/MapMarkerController.js
index 2ef4c3a1..15b1aec1 100644
--- a/web/app/view/map/MapMarkerController.js
+++ b/web/app/view/map/MapMarkerController.js
@@ -107,11 +107,11 @@ Ext.define('Traccar.view.map.MapMarkerController', {
image: new ol.style.Circle({
radius: 6,
fill: new ol.style.Fill({
- color: '#3399CC',
+ color: '#3399CC'
}),
stroke: new ol.style.Stroke({
color: '#fff',
- width: 2,
+ width: 2
})
})
}));