403Webshell
Server IP : 51.79.230.26  /  Your IP : 216.73.217.128
Web Server : LiteSpeed
System : Linux sg2.exonhost.com 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64
User : mukutpub ( 1151)
PHP Version : 8.2.33
Disable Function : eval, show_source, system, shell_exec, passthru, exec, popen, proc_open, allow_url_fopen, symlink, mail
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/mukutpub/joldhi.com/wp-content/themes/di-ecommerce/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/mukutpub/joldhi.com/wp-content/themes/di-ecommerce/assets/js/nav-menu.js
( function( $ ) {
	$(document).ready(function() {

		// Nav Main DD Toggle
		$( ".navbarprimary .dropdowntoggle" ).click( function() {
			if( $(this).parent('li').hasClass('navbarprimary-open') ) {
				$(this).parent('li').removeClass('navbarprimary-open');
			} else {
				$(this).parent('li').addClass('navbarprimary-open');
			}

			if( $(this).children('a').children('span').hasClass('fa-chevron-circle-down') ) {
				$(this).children('a').children('span').removeClass('fa-chevron-circle-down');
				$(this).children('a').children('span').addClass('fa-chevron-circle-right');
			} else {
				$(this).children('a').children('span').removeClass('fa-chevron-circle-right');
				$(this).children('a').children('span').addClass('fa-chevron-circle-down');
			}
			
			return false;
		});

		// Make accessible menu
		var links = $( '.navbarprimary .navbar-collapse a' );

		// Each time a menu link is focused or blurred, toggle focus.
		for ( i = 0, len = links.length; i < len; i++ ) {
			links[i].addEventListener( 'focus', toggleFocus, true );
			links[i].addEventListener( 'blur', toggleFocus, true );
		}
		
		/**
		 * Sets or removes .focus class on an element.
		 */
		function toggleFocus() {
			var self = this;

			// Move up through the ancestors of the current link until we hit .nav-menu.
			while ( -1 === self.className.indexOf( 'navbar-nav' ) ) {

				// On li elements toggle the class .focus.
				if ( 'li' === self.tagName.toLowerCase() ) {
					
					if ( -1 !== self.className.indexOf( 'focus' ) ) {
						self.className = self.className.replace( ' focus', '' );
					} else {
						self.className += ' focus';
					}
				}
				self = self.parentElement;
			}
		}

	});
} )( jQuery );

Youez - 2016 - github.com/yon3zu
LinuXploit