KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.62
System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64
User : www ( 80)
PHP Version : 8.3.8
Disable Function : NONE
Directory :  /domains/bluerae/clients/keryx/ir-template/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /domains/bluerae/clients/keryx/ir-template/assets/js/navigation.js
/**
 * navigation.js
 *
 * Handles toggling the navigation menu for small screens.
 */
(function ($) {
	var $container, $button, menu;

	// check for main menu
	$container = $('#site-navigation');
	if (!$container)
		return;

	// find mobile toggle button
	$button = $container.find('.menu-toggle');
	if ($button.length <= 0)
		return;

	// mobile toggle exists
	$menu = $container.find('> ul');

	// hide menu toggle button if menu is empty
	if ($menu.length > 0) {
		$menu.addClass('nav-menu');
	}
	else {
		$button.hide();
		return;
	}

	// button click actions
	$button.on('click', function (e) {
		e.preventDefault();
		$container.toggleClass('toggled');
	});

})();

Anon7 - 2021