diff --git a/modules/ad_banner/_ad_banner_widget2_video.html.erb b/modules/ad_banner/_ad_banner_widget2_video.html.erb index 471623f..84e4baa 100644 --- a/modules/ad_banner/_ad_banner_widget2_video.html.erb +++ b/modules/ad_banner/_ad_banner_widget2_video.html.erb @@ -275,8 +275,7 @@ if (typeof onYouTubeIframeAPIReady !== 'function'){ /* var height = opts.slides.filter('.active').height() || opts.slides.height(); banner_wrap.height(height)*/ - if(banner_wrap.find('.cycle-slide-active iframe').length != 0) - banner_wrap.css("padding-bottom",""); + banner_wrap.css("padding-bottom",""); {{extra_document_ready_script}} $('.pause-slide').off('click').click(function(){ $(this).parent("ul").parent('.w-ba-banner').find(".cycle-slideshow").cycle('pause');