Fix bug js son reception

This commit is contained in:
OsaAjani 2015-12-09 20:19:35 +01:00
parent 51c4ffc3b6
commit 16a3b92082
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();
}