diff options
author | ninioe <ninioe@gmail.com> | 2016-07-24 11:56:46 +0300 |
---|---|---|
committer | ninioe <ninioe@gmail.com> | 2016-07-24 11:56:46 +0300 |
commit | 3e1e90ef327102f5942884b8ba517971a47b2673 (patch) | |
tree | 452ae74e5d5c39064ad93c28a5f916665a1943df /web/app/controller | |
parent | 25568f62c9fb160d06ac27040d82e2697603880a (diff) | |
download | traccar-server-3e1e90ef327102f5942884b8ba517971a47b2673.tar.gz traccar-server-3e1e90ef327102f5942884b8ba517971a47b2673.tar.bz2 traccar-server-3e1e90ef327102f5942884b8ba517971a47b2673.zip |
more fixes
Diffstat (limited to 'web/app/controller')
-rw-r--r-- | web/app/controller/Root.js | 5 |
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 { |