This commit is contained in:
BoHung Chiu 2022-05-19 13:37:07 +08:00
parent 07033c94b2
commit f30a4b8dd4
1 changed files with 1 additions and 2 deletions

View File

@ -275,8 +275,7 @@ if (typeof onYouTubeIframeAPIReady !== 'function'){
/* /*
var height = opts.slides.filter('.active').height() || opts.slides.height(); var height = opts.slides.filter('.active').height() || opts.slides.height();
banner_wrap.height(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}} {{extra_document_ready_script}}
$('.pause-slide').off('click').click(function(){ $('.pause-slide').off('click').click(function(){
$(this).parent("ul").parent('.w-ba-banner').find(".cycle-slideshow").cycle('pause'); $(this).parent("ul").parent('.w-ba-banner').find(".cycle-slideshow").cycle('pause');