HEX
Server: Apache
System: Linux vpshost0528.publiccloud.com.br 4.4.79-grsec-1.lc.x86_64 #1 SMP Wed Aug 2 14:18:21 -03 2017 x86_64
User: novoprovisorio2 (10002)
PHP: 7.4.11
Disabled: apache_child_terminate,dl,escapeshellarg,escapeshellcmd,exec,link,mail,openlog,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,php_check_syntax,php_strip_whitespace,popen,proc_close,proc_open,shell_exec,symlink,system
Upload Files
File: /home/storage/f/44/55/novoprovisorio2/public_html/wp-content/themes/thegem/js/thegem-counters.js
(function($) {
	function init_odometer(el) {
		if ($('.gem-counter-odometer', el).size() == 0)
			return;
		var odometer = $('.gem-counter-odometer', el).get(0);
		var format = $(el).closest('.gem-counter-box').data('number-format');
		format = format ? format : '(ddd).ddd';
		var od = new Odometer({
			el: odometer,
			value: $(odometer).text(),
			format: format
		});
		od.update($(odometer).data('to'));
	}

	window.thegem_init_odometer = init_odometer;

	$('.gem-counter').each(function(index) {
		if ($(this).closest('.gem-counter-box').size() > 0 && $(this).closest('.gem-counter-box').hasClass('lazy-loading') && !window.gemSettings.lasyDisabled) {
			$(this).addClass('lazy-loading-item').data('ll-effect', 'action').data('item-delay', '0').data('ll-action-func', 'thegem_init_odometer');
			$('.gem-icon', this).addClass('lazy-loading-item').data('ll-effect', 'fading').data('item-delay', '0');
			$('.gem-counter-text', this).addClass('lazy-loading-item').data('ll-effect', 'fading').data('item-delay', '0');
			return;
		}
		init_odometer(this);
	});
})(jQuery);