aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/EventsController.js
diff options
context:
space:
mode:
authorEvgeny S Maksimov <me@vragam.net>2019-02-26 21:36:43 +0300
committerEvgeny S Maksimov <me@vragam.net>2019-02-26 21:36:43 +0300
commitff0194c227975faa5e2f1eca3007f82c5eefc620 (patch)
treec67134710964c4e2b003ce3e3041d119cb5bcc57 /web/app/view/EventsController.js
parente3e14d53eb06240577600aa6179489e4a3a36957 (diff)
downloadtrackermap-web-ff0194c227975faa5e2f1eca3007f82c5eefc620.tar.gz
trackermap-web-ff0194c227975faa5e2f1eca3007f82c5eefc620.tar.bz2
trackermap-web-ff0194c227975faa5e2f1eca3007f82c5eefc620.zip
Small improvements
Diffstat (limited to 'web/app/view/EventsController.js')
-rw-r--r--web/app/view/EventsController.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/EventsController.js b/web/app/view/EventsController.js
index d9e0c1ed..e11b4ff6 100644
--- a/web/app/view/EventsController.js
+++ b/web/app/view/EventsController.js
@@ -85,7 +85,7 @@ Ext.define('Traccar.view.EventsController', {
deselectEvent: function (object) {
- if (object !== undefined) {
+ if (object) {
this.deselectFeature();
}
},