aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorninioe <ninioe@gmail.com>2016-07-24 11:56:46 +0300
committerninioe <ninioe@gmail.com>2016-07-24 11:56:46 +0300
commit3e1e90ef327102f5942884b8ba517971a47b2673 (patch)
tree452ae74e5d5c39064ad93c28a5f916665a1943df /web
parent25568f62c9fb160d06ac27040d82e2697603880a (diff)
downloadtraccar-server-3e1e90ef327102f5942884b8ba517971a47b2673.tar.gz
traccar-server-3e1e90ef327102f5942884b8ba517971a47b2673.tar.bz2
traccar-server-3e1e90ef327102f5942884b8ba517971a47b2673.zip
more fixes
Diffstat (limited to 'web')
-rw-r--r--web/app/controller/Root.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/web/app/controller/Root.js b/web/app/controller/Root.js
index 53f3b83df..c8e708c09 100644
--- a/web/app/controller/Root.js
+++ b/web/app/controller/Root.js
@@ -81,7 +81,10 @@ Ext.define('Traccar.controller.Root', {
this.asyncUpdate(true);
}
});
- if (Ext.get('attribution') !== null) Ext.get('attribution').remove();
+ var attribution = Ext.get('attribution');
+ if (attribution) {
+ attribution.remove();
+ }
if (this.isPhone) {
Ext.create('widget.mainMobile');
} else {