From a76ebc5048094444f67c8d40399d3bb79a490e01 Mon Sep 17 00:00:00 2001 From: rulingcom Date: Thu, 9 Sep 2021 03:04:44 +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 +