assets/js/academia.js
/* ---------------------------------------------------------------------------
   * Normalize Bootstrap Carousel Slide Heights.
   * --------------------------------------------------------------------------- */
Normalize Bootstrap Carousel Slide Heights.
Normalize Bootstrap Carousel Slide Heights .
function normalizeCarouselSlideHeights() {
    $('.carousel').each(function () {
      let items = $('.carousel-item', this);
      items.css('min-height', 0);
      let maxHeight = Math.max.apply(null, items.map(function () {
        return $(this).outerHeight()
      }).get());
      items.css('min-height', maxHeight + 'px');
    })
  }
function normalizeCarouselSlideHeights ( ) { $ ( '.carousel' ) . each ( function ( ) { let items = $ ( '.carousel-item' , this ) ; items . css ( 'min-height' , 0 ) ; let maxHeight = Math . max . apply ( null , items . map ( function ( ) { return $ ( this ) . outerHeight ( ) } ) . get ( ) ) ; items . css ( 'min-height' , maxHeight + 'px' ) ; } ) }
Normalize Bootstrap Carousel Slide Heights.
Normalize Bootstrap Carousel Slide Heights .
// Get carousel slides. // Reset all slide heights. // Normalize all slide heights.