HEX
Server: Apache
System: Linux webm005.cluster121.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: adventp (418412)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/adventp/www/wp-content/plugins/js_composer/assets/js/lib/promo-popup.js
(function ( $ ) {
	'use strict';

	var $promoModal = $( '#vc_ui-helper-promo-popup' );

	$promoModal.on( 'click', closeModal );

	function closeModal ( e ) {
		var $target = $( e.target );
		var isCloseButton = $target.closest( '[data-vc-ui-element="button-close"]' ).length;

		if ( isCloseButton ) {
			$promoModal.removeClass( 'vc_active' );
		}
	}
})( window.jQuery );