From fd3a695813f511d1b94775bd4e8a4c57053fc66d Mon Sep 17 00:00:00 2001 From: ninioe Date: Sun, 24 Jul 2016 09:34:41 +0300 Subject: more fix --- web/app/controller/Root.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/app/controller') 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(); -- cgit v1.2.3