aboutsummaryrefslogtreecommitdiff
path: root/web/app
diff options
context:
space:
mode:
Diffstat (limited to 'web/app')
-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();