From 049c7a374818d4748ef2b2430cc7565e3c4c9b3c 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:55:22 +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 3bb5774..f4a1c93 100644 --- a/modules/ad_banner/_ad_banner_widget2_video.html.erb +++ b/modules/ad_banner/_ad_banner_widget2_video.html.erb @@ -94,7 +94,7 @@ }) if (typeof onYouTubeIframeAPIReady !== 'function'){ $(document).ready(function() { - $(document).delegate(".jarallax-video-audio",'touchstart click',function(){ + $(document).on('touchstart click mousedown',".jarallax-video-audio",function(){ $(this).trigger('click'); }); });