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 | |
parent | 25568f62c9fb160d06ac27040d82e2697603880a (diff) | |
download | traccar-server-3e1e90ef327102f5942884b8ba517971a47b2673.tar.gz traccar-server-3e1e90ef327102f5942884b8ba517971a47b2673.tar.bz2 traccar-server-3e1e90ef327102f5942884b8ba517971a47b2673.zip |
more fixes
-rw-r--r-- | src/org/traccar/Main.java | 2 | ||||
-rw-r--r-- | web/app/controller/Root.js | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/org/traccar/Main.java b/src/org/traccar/Main.java index 570becc2d..e7e8d8ab9 100644 --- a/src/org/traccar/Main.java +++ b/src/org/traccar/Main.java @@ -23,7 +23,7 @@ import java.util.TimerTask; import java.util.Locale; public final class Main { - static final long CLEAN_DELAY = 500; + static final long CLEAN_DELAY = 0; static final long CLEAN_PERIOD = 24 * 60 * 60 * 1000; private Main() { 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 { |