PATH:
home
/
lab2454c
/
biocei.com
/
wp-content
/
plugins
/
fancy-elementor-gallery-box
/
assets
/
js
( function( $ ) { /** * @param $scope The Widget wrapper element as a jQuery element * @param $ The jQuery alias */ var WidgetFancyElementorFlipboxHandler = function( $scope, $ ) { $('.tp-flipbox').each(function(){ var me = $(this); var tp_fb_holder = me.find('.tp-flipbox__holder'); var tp_fb_content_height = me.find(".tp-flipbox__content").height(); var tp_fb_front_height = me.find(".tp-flipbox__front .tp-flipbox__content").height(); var tp_fb_back_height = me.find(".tp-flipbox__back .tp-flipbox__content").height(); if(tp_fb_back_height > tp_fb_front_height){ tp_fb_holder.css("min-height",tp_fb_back_height); } if(tp_fb_back_height < tp_fb_front_height){ tp_fb_holder.css("min-height",tp_fb_front_height); } }); }; // Make sure you run this code under Elementor. $( window ).on( 'elementor/frontend/init', function() { elementorFrontend.hooks.addAction( 'frontend/element_ready/fancy-elementor-flipbox.default', WidgetFancyElementorFlipboxHandler ); } ); } )( jQuery );
[+]
..
[-] fancy-elementor-flipbox.js
[edit]