aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorninioe <ninioe@gmail.com>2016-07-24 09:34:41 +0300
committerninioe <ninioe@gmail.com>2016-07-24 09:34:41 +0300
commitfd3a695813f511d1b94775bd4e8a4c57053fc66d (patch)
tree24dbbfb7ff87baef18089f0d2690b9fb4225bb39 /web
parent729f34a34c4b3f857823293c8a46661f606cb03b (diff)
downloadtrackermap-server-fd3a695813f511d1b94775bd4e8a4c57053fc66d.tar.gz
trackermap-server-fd3a695813f511d1b94775bd4e8a4c57053fc66d.tar.bz2
trackermap-server-fd3a695813f511d1b94775bd4e8a4c57053fc66d.zip
more fix
Diffstat (limited to 'web')
-rw-r--r--web/app/controller/Root.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/controller/Root.js b/web/app/controller/Root.js
index 367b98d88..53f3b83df 100644
--- a/web/app/controller/Root.js
+++ b/web/app/controller/Root.js
@@ -90,7 +90,7 @@ Ext.define('Traccar.controller.Root', {
},
beep: function () {
- if (this.beepSound === null) {
+ if (!this.beepSound) {
this.beepSound = new Audio('beep.wav');
}
this.beepSound.play();