HEX
Server: nginx/1.24.0
System: Linux 0c1023d6c65e 6.8.0-137-generic #137-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 17 20:28:23 UTC 2026 x86_64
User: root (0)
PHP: 8.3.33
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/themes/thegem-elementor/js/thegem-parallax-footer.js
(function($){

	$.updateParalaxFooter = function() {
		var $footer = $('.parallax-footer').first();
		if($footer.size() == 0) return ;
		$footer.thegemPreloader(function() {
			$('#page').css({marginBottom: ''});
			$footer.removeClass('parallax-footer-inited');
			if($footer.outerHeight() + $('#site-header').outerHeight() > $(window).height()) return ;
			$footer.addClass('parallax-footer-inited');
			$('#page').css({marginBottom: $footer.outerHeight()+'px'});
		});
	}

	$(function() {
		$.updateParalaxFooter();
	});

	$(window).resize(function() {
		$.updateParalaxFooter();
	});

})(jQuery);