aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/Map.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/Map.js')
-rw-r--r--web/app/view/Map.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/app/view/Map.js b/web/app/view/Map.js
index 5d2fd579c..63be7f666 100644
--- a/web/app/view/Map.js
+++ b/web/app/view/Map.js
@@ -28,7 +28,7 @@ Ext.define('Traccar.view.Map', {
layout: 'fit',
listeners: {
- afterrender: function() {
+ afterrender: function () {
var user = Traccar.app.getUser();
var server = Traccar.app.getServer();
@@ -79,7 +79,7 @@ Ext.define('Traccar.view.Map', {
});
},
- resize: function() {
+ resize: function () {
this.map.updateSize();
}
}