diff --git a/modules/ad_banner/_ad_banner_widget2_video.html.erb b/modules/ad_banner/_ad_banner_widget2_video.html.erb index 10c7006..654fceb 100644 --- a/modules/ad_banner/_ad_banner_widget2_video.html.erb +++ b/modules/ad_banner/_ad_banner_widget2_video.html.erb @@ -48,6 +48,9 @@ }else{ audio_div = $(''); } + audio_div.click(function(event) { + event.stopPropagation(); + }); $self.append(audio_div); } } @@ -66,8 +69,6 @@ }) if (typeof onYouTubeIframeAPIReady !== 'function'){ $(document).on('click touchstart',".jarallax-video-audio",function(event){ - event.stopImmediatePropagation(); - event.stopPropagation(); var $self = $(this).parent(); var $video = $self.find('video'); if ($self.hasClass('have-audio')){