aboutsummaryrefslogtreecommitdiff
path: root/web/app
diff options
context:
space:
mode:
Diffstat (limited to 'web/app')
-rw-r--r--web/app/view/Map.js2
-rw-r--r--web/app/view/MapController.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/web/app/view/Map.js b/web/app/view/Map.js
index 3be450cf4..7d81699a3 100644
--- a/web/app/view/Map.js
+++ b/web/app/view/Map.js
@@ -105,7 +105,7 @@ Ext.define('Traccar.view.Map', {
}
this.map.on('pointermove', function (e) {
- var hit = this.forEachFeatureAtPixel(e.pixel, function(feature, layer) {
+ var hit = this.forEachFeatureAtPixel(e.pixel, function (feature, layer) {
return true;
});
if (hit) {
diff --git a/web/app/view/MapController.js b/web/app/view/MapController.js
index 2f4eb5a3c..c153ebd45 100644
--- a/web/app/view/MapController.js
+++ b/web/app/view/MapController.js
@@ -110,7 +110,7 @@ Ext.define('Traccar.view.MapController', {
this.getView().getVectorSource().addFeature(marker);
style = this.getReportMarker();
- style.getImage().setRotation(position.get('course') * Math.PI / 180 );
+ style.getImage().setRotation(position.get('course') * Math.PI / 180);
style.getText().setText(
Ext.Date.format(position.get('fixTime'), Traccar.Style.dateTimeFormat));