Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
home
/
ophq1335
/
www
/
wp-content
/
plugins
/
divi-modules-pro
/
includes
/
modules
/
ImageHoverBox
/
/home/ophq1335/www/wp-content/plugins/divi-modules-pro/includes/modules/ImageHoverBox/custom.js
jQuery(function($){window.initImageHoverBox=function(){$('.dmpro_hover_box').each(function(){let $this=$(this),$container=$this.find('.dmpro-hover-box-container'),$content=$container.find('.dmpro-hover-box-content'),$hover=$container.find('.dmpro-hover-box-hover');if($container.attr('data-force_square')==='on'){let width=$container.width();if(width===0){$container.parents().each(function(){let $parent=$(this);if($parent.css("display")==="none"){$parent.css("display","block");width=parseInt($container.width(),10);$parent.css("display","none");return false}})}$container.height(width);$content.outerHeight(width);$hover.outerHeight(width)}})};window.addEventListener("orientationchange",function(){window.initImageHoverBox()});window.addEventListener("resize",function(){window.initImageHoverBox()});window.addEventListener("load",function(){window.initImageHoverBox()})});