From 294d4624fb65d5a56c0ad2099c20f80eec55307b Mon Sep 17 00:00:00 2001 From: rulingcom Date: Thu, 9 Sep 2021 03:04:46 +0000 Subject: [PATCH] update template --- modules/ad_banner/_ad_banner_widget2_video.html.erb | 4 ++-- 1 file changed, 2 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 0c82e07..949e906 100644 --- a/modules/ad_banner/_ad_banner_widget2_video.html.erb +++ b/modules/ad_banner/_ad_banner_widget2_video.html.erb @@ -85,7 +85,7 @@ if (typeof onYouTubeIframeAPIReady !== 'function'){ var banner_wrap = $(".w-ba-banner__wrap[data-overlay=\".w-ad-banner__overlay_{{subpart-id}}\"]"); banner_wrap.height(height).css({"padding-bottom":"4em","padding-top":""}); banner_wrap.find(".cycle-carousel-wrap").css("top","3em"); - delete event.target.B.onStateChange; + delete (event.target.B || event.target.H).onStateChange; var onStateChange_idx = event.target.l.i.onStateChange; onStateChange_idx.reverse(); var event_size = 3; @@ -197,4 +197,4 @@ if (typeof onYouTubeIframeAPIReady !== 'function'){ .next-button,.prev-button{ cursor: pointer; } - \ No newline at end of file +