From 16a3b9208293813c85d519d6d5326161647c00de 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(); }