BossBey File Manager
PHP:
8.2.30
OS:
Linux
User:
imagivibe
Root
/
home
/
imagivibe
/
public_html
/
CTR
/
wp-content
/
themes
/
porto
/
js
📤 Upload
📝 New File
📁 New Folder
Close
Editing: footer-reveal.min.js
!function(e){var t={$wrapper:e(".footer-reveal"),footerHeight:-1,init:function(){this.build(),this.events()},build:function(){var t=this,r=t.$wrapper.outerHeight(!0);if(t.footerHeight!=r){t.footerHeight=r;var o=window.innerHeight-theme.adminBarHeight();e("#header .header-main").length&&(o-=e("#header .header-main").height()),r>o?(e(".footer-wrapper").removeClass("footer-reveal"),e(".page-wrapper").css("margin-bottom",0)):(e(".footer-wrapper").addClass("footer-reveal"),e(".page-wrapper").css("margin-bottom",r),document.body.offsetHeight<window.innerHeight&&(document.body.style.paddingBottom="0.1px"))}},events:function(){var t=this,r=e(window);r.smartresize((function(){t.build()})),r.on("scroll",(function(){t.build()}))}};e(".footer-reveal").get(0)&&t.init()}(jQuery);
Save
Cancel