web/static/app/app.js
// ensure all slider slides are the same height
ensure all slider slides are the same height
ensure all slider slides are the same height
function tallestSlide() {
  let tallestFeatured = 0;
  u(".featured").attr("height", "auto");
  u(".featured_podcast_wrap").each(function(el) {
    let featuredHeight = u(el).size().height;
    if (featuredHeight > tallestFeatured) {
      tallestFeatured = featuredHeight;
    }
  });
  u(".featured").attr("style", "height: " + tallestFeatured + "px;");
}
function tallestSlide ( ) { let tallestFeatured = 0 ; u ( ".featured" ) . attr ( "height" , "auto" ) ; u ( ".featured_podcast_wrap" ) . each ( function ( el ) { let featuredHeight = u ( el ) . size ( ) . height ; if ( featuredHeight > tallestFeatured ) { tallestFeatured = featuredHeight ; } } ) ; u ( ".featured" ) . attr ( "style" , "height: " + tallestFeatured + "px;" ) ; }
ensure all slider slides are the same height
ensure all slider slides are the same height