????JFIF??x?x????'
| Server IP : 104.21.30.238 / Your IP : 216.73.216.87 Web Server : LiteSpeed System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : tempvsty ( 647) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /././././proc/self/cwd/wp-content/themes/sinatra/assets/js/ |
Upload File : |
"use strict";
/**
* File skip-link-focus-fix.js
*
* Helps with accessibility for keyboard only users.
* This is the source file for what is minified in the astra_skip_link_focus_fix() PHP function.
*
* Learn more: https://github.com/Automattic/_s/pull/136
*/
(function () {
var is_webkit = navigator.userAgent.toLowerCase().indexOf('webkit') > -1,
is_opera = navigator.userAgent.toLowerCase().indexOf('opera') > -1,
is_ie = navigator.userAgent.toLowerCase().indexOf('msie') > -1;
if ((is_webkit || is_opera || is_ie) && document.getElementById && window.addEventListener) {
window.addEventListener('hashchange', function () {
var id = location.hash.substring(1),
element;
if (!/^[A-z0-9_-]+$/.test(id)) {
return;
}
element = document.getElementById(id);
if (element) {
if (!/^(?:a|select|input|button|textarea)$/i.test(element.tagName)) {
element.tabIndex = -1;
}
element.focus();
}
}, false);
}
})();