HEX
Server: Apache
System: Linux webd006.cluster128.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: zwafgyp (177615)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/zwafgyp/coolswim/wp-content/plugins/wpopal-themer/assets/js/megamenu.js
(function ($) {
	$(document).ready( function(){

		$('.inline-menu li').click( function(e){  
			$(this).parent().children('.active').removeClass('active' );
			$(this).toggleClass('active');
			e.stopPropagation();
		} );

		$('.inline-menu li').each( function(){
			var $this = $(this);

			var $profile = $('.megamenu_profile' , this );


			if( $profile.val() != "" ){
				$this.addClass('hasmega');
			}
			$profile.change( function() {  
				if( $profile.val() != "" ){
					$this.addClass('hasmega');
				}else {
					$this.removeClass('hasmega');
				}

			} );
			$('em',$this).click( function(e){   
				$($this).parent().children('.active').removeClass('active' );
				e.stopPropagation();
			} );

		}  );
		
	} );
})(jQuery);