Fix bug js son reception
This commit is contained in:
parent
0a5cae859c
commit
9bbd175a48
|
@ -56,7 +56,11 @@ function scrollDownDiscussion()
|
|||
*/
|
||||
function playReceptionSound ()
|
||||
{
|
||||
jQuery('body').find('#reception-sound')[0].play();
|
||||
var receptionSound = jQuery('body').find('#reception-sound');
|
||||
if (receptionSound)
|
||||
{
|
||||
receptionSound[0].play();
|
||||
}
|
||||
}
|
||||
|
||||
jQuery(document).ready(function()
|
||||
|
|
Loading…
Reference in New Issue