From 57cf0db0f1c027bc21b2a921b170aef718a9e451 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 20 Jun 2021 19:24:01 -0700 Subject: Fix style issues --- web/app/view/map/BaseMap.js | 2 +- web/app/view/map/MapMarkerController.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'web/app/view/map') 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 }) }) })); -- cgit v1.2.3