diff --git a/modules/ad_banner/_ad_banner_widget2_video.html.erb b/modules/ad_banner/_ad_banner_widget2_video.html.erb index c18fa06..81900bf 100644 --- a/modules/ad_banner/_ad_banner_widget2_video.html.erb +++ b/modules/ad_banner/_ad_banner_widget2_video.html.erb @@ -131,7 +131,9 @@ if (typeof onYouTubeIframeAPIReady !== 'function'){ var banner_wrap = $(iframe).parents('.w-ba-banner__wrap').eq(0); banner_wrap.height(height).css({"padding-bottom":"","padding-top":""}); banner_wrap.find(".cycle-carousel-wrap").css("top","3em"); - delete (event.target.B || event.target.H).onStateChange; + try{ + delete (event.target.B || event.target.H || event.target.I).onStateChange; + }catch(e){console.log("{onReady: true, onStateChange: true} missing!")}; var onStateChange_idx = event.target.l.i.onStateChange; onStateChange_idx.reverse(); var event_size = 3; @@ -194,7 +196,8 @@ if (typeof onYouTubeIframeAPIReady !== 'function'){ /* var height = opts.slides.filter('.active').height() || opts.slides.height(); banner_wrap.height(height)*/ - banner_wrap.css("padding-bottom",""); + if(banner_wrap.find('.cycle-slide-active iframe').length != 0) + 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'); diff --git a/modules/universal_table/index.html.erb b/modules/universal_table/index.html.erb new file mode 100644 index 0000000..29164e6 --- /dev/null +++ b/modules/universal_table/index.html.erb @@ -0,0 +1,87 @@ + +
+
+ {{title}}
+
+
+
+
+ |
+
---|
{{text}} | +
{{title}} | +{{text}} | +