HEX
Server: LiteSpeed
System: Linux chromium.pvtwebs.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64
User: plandeptncgov (1317)
PHP: 8.3.31
Disabled: exec,system,passthru,shell_exec,escapeshellarg,escapeshellcmd,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/plandeptncgov/public_html/wp-content/plugins/codevz-plus/assets/js/mobile-nav.js
jQuery( function( $ ) {
	"use strict";

	Codevz_Plus.mobileFixedNav = function() {

		if ( $( window ).width() <= 768 ) {

			var mobileNav = $( '.xtra-fixed-mobile-nav' ),
				currentURL = window.location.href,
				currentURL = currentURL.indexOf( '?' ) >= 0 ? currentURL.split( '?' )[0] : currentURL,
				currentURL = currentURL.indexOf( '#' ) >= 0 ? currentURL.split( '#' )[0] : currentURL;
				currentURL = currentURL.replace( /\/$/, "" );

			if ( mobileNav.length ) {

				$( 'footer' ).css( 'margin-bottom', mobileNav.outerHeight() );

				mobileNav.find( 'a' ).each( function() {

					var $this = $( this );

					if ( $this.attr( 'href' ).replace( /\/$/, "" ) == currentURL ) {

						$this.addClass( 'xtra-active' );

					}

				});

				var mobileNavHeight = mobileNav.outerHeight();
				
				$( '.backtotop' ).css( 'margin-bottom', mobileNavHeight ).next( '.fixed_contact' ).css( 'margin-bottom', mobileNavHeight );


			}

		}

	};

	Codevz_Plus.mobileFixedNav();

});