Fix bug js son reception

This commit is contained in:
OsaAjani 2015-12-09 20:19:35 +01:00
parent 9bbd175a48
commit ae9db094e0
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ function scrollDownDiscussion()
function playReceptionSound ()
{
var receptionSound = jQuery('body').find('#reception-sound');
if (receptionSound)
if (receptionSound.length)
{
receptionSound[0].play();
}