diff --git a/modules/ad_banner/_ad_banner_widget2_video.html.erb b/modules/ad_banner/_ad_banner_widget2_video.html.erb index 949e906..def31bb 100644 --- a/modules/ad_banner/_ad_banner_widget2_video.html.erb +++ b/modules/ad_banner/_ad_banner_widget2_video.html.erb @@ -143,8 +143,10 @@ if (typeof onYouTubeIframeAPIReady !== 'function'){ controlplay.find(".pause-slide").removeClass("active"); } }) + /* var height = opts.slides.filter('.active').height() || opts.slides.height(); - banner_wrap.height(height).css("padding-bottom",""); + banner_wrap.height(height)*/ + 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');