From ae9db094e0c72b29384b92d52eb52cff8a5e7ef6 Mon Sep 17 00:00:00 2001 From: OsaAjani Date: Wed, 9 Dec 2015 20:19:35 +0100 Subject: [PATCH] Fix bug js son reception --- js/custom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/custom.js b/js/custom.js index e282371..8aa28d0 100755 --- a/js/custom.js +++ b/js/custom.js @@ -57,7 +57,7 @@ function scrollDownDiscussion() function playReceptionSound () { var receptionSound = jQuery('body').find('#reception-sound'); - if (receptionSound) + if (receptionSound.length) { receptionSound[0].play(); }