From a1eda981e006ff81083afb51200282e6b2a60ebd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B1=E5=8D=9A=E4=BA=9E?= Date: Mon, 8 Aug 2022 15:24:42 +0800 Subject: [PATCH] fix error --- modules/ad_banner/_ad_banner_widget2_video.html.erb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/ad_banner/_ad_banner_widget2_video.html.erb b/modules/ad_banner/_ad_banner_widget2_video.html.erb index 08eb198..5b94332 100644 --- a/modules/ad_banner/_ad_banner_widget2_video.html.erb +++ b/modules/ad_banner/_ad_banner_widget2_video.html.erb @@ -45,10 +45,11 @@ }else{ var audio_div; if ($self.hasClass('have-audio')){ - audio_div = $(''); + audio_div = $(''); }else{ - audio_div = $(''); + audio_div = $(''); } + audio_div.find('p').css('display','none'); //fix CSP audio_div.click(function(event) { var currentTime = new Date(); if (ad_trigger_time&¤tTime-ad_trigger_time<500){