correct check for notification sound

This commit is contained in:
oliver 2015-05-17 20:54:00 +02:00
parent 7d1cd83e3a
commit bcd5a6b8da

View file

@ -8,7 +8,7 @@
function notify()
{
var notifySound = $("#notify-sound");
if(notifySound) {
if(notifySound.length > 0) {
notifySound.get(0).play();
}
}