correct check for notification sound
This commit is contained in:
parent
7d1cd83e3a
commit
bcd5a6b8da
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@
|
||||||
function notify()
|
function notify()
|
||||||
{
|
{
|
||||||
var notifySound = $("#notify-sound");
|
var notifySound = $("#notify-sound");
|
||||||
if(notifySound) {
|
if(notifySound.length > 0) {
|
||||||
notifySound.get(0).play();
|
notifySound.get(0).play();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue