From bba25f596c37c6d35a1762c04cdcd4a6c3591af2 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 15:05:14 +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 edad6a0..1ed322f 100644 --- a/modules/ad_banner/_ad_banner_widget2_video.html.erb +++ b/modules/ad_banner/_ad_banner_widget2_video.html.erb @@ -88,7 +88,7 @@ ad_banners_count++; }) if (typeof onYouTubeIframeAPIReady !== 'function'){ - $(document).on('touchstart',".jarallax-video-audio",function(event){ + $(document).delegate(".jarallax-video-audio",'touchstart,click',function(){ $(this).trigger('click'); }); if(window.yt_players == undefined)