From 8bf2305a77364e2efd1a04622d2473f62aa14b52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B1=E5=8D=9A=E4=BA=9E?= Date: Mon, 15 Nov 2021 13:29:54 +0800 Subject: [PATCH] fix error --- modules/ad_banner/_ad_banner_widget2_video.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ad_banner/_ad_banner_widget2_video.html.erb b/modules/ad_banner/_ad_banner_widget2_video.html.erb index 0e4ebc8..f58df85 100644 --- a/modules/ad_banner/_ad_banner_widget2_video.html.erb +++ b/modules/ad_banner/_ad_banner_widget2_video.html.erb @@ -48,7 +48,7 @@ }else{ audio_div = $(''); } - audio_div.click(function(event){ + audio_div.on('click touchstart',function(event){ event.stopPropagation(); var $video = $self.find('video'); if ($self.hasClass('have-audio')){