PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
| Dir : /home/ngamzghe/moltrazi.com/wp-content__e01594c/themes/genesis/lib/js/ |
| Server: Linux server1.ngambekcore.com 4.18.0-553.51.1.el8_10.x86_64 #1 SMP Wed Apr 30 04:00:07 EDT 2025 x86_64 IP: 159.198.77.92 |
| Dir : /home/ngamzghe/moltrazi.com/wp-content__e01594c/themes/genesis/lib/js/skip-links.js |
/**
* This file fixes the browser bug for skip-links: While the visual focus of the browser shifts to the element being linked to, the input focus stays where it was.
* Affects Internet Explorer and Chrome
* https://www.nczonline.net/blog/2013/01/15/fixing-skip-to-content-links/
*
* @package Genesis\JS
* @author StudioPress
*/
/**
* Callback to fix skip links focus.
*
* @since 2.2.0
*/
function ga_skiplinks() {
'use strict';
var fragmentID = location.hash.substring( 1 );
if ( ! fragmentID ) {
return;
}
var element = document.getElementById( fragmentID );
if ( element ) {
if ( false === /^(?:a|select|input|button|textarea)$/i.test( element.tagName ) ) {
element.tabIndex = -1;
}
element.focus();
}
}
if ( window.addEventListener ) {
window.addEventListener( 'hashchange', ga_skiplinks, false );
} else { // IE8 and earlier.
window.attachEvent( 'onhashchange', ga_skiplinks );
}