HEX
Server: Apache
System: Linux webm008.cluster106.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: associattd (600886)
PHP: 5.6.40
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/associattd/www/wp-content/themes/spacious/js/elementor-custom.js
/**
 * @description Spacious custom javascript functions
 * @author ThemeGril
 */

/*===============================
 =            Counter            =
 ===============================*/
jQuery( window ).on( 'elementor/frontend/init', function () {
	elementorFrontend.hooks.addAction( 'frontend/element_ready/widget', function ( $scope ) {

		// Counter
		if ( ( typeof jQuery.fn.waypoint !== 'undefined' ) && ( typeof jQuery.fn.countTo !== 'undefined' ) ) {
			$scope.waypoint( function ( direction ) {
				if ( 'down' === direction ) {
					$scope.find( '.counter__number' ).countTo();
				}
			}, {
				triggerOnce: true,
				offset     : '80%'
			} );
		}
	} );
} );