PageSourceSearch

https://megamotionpt.com/wp-content/cache/min/1/wp-content/themes/…touch-keyboard-navigation.js?ver=1789567746

js megamotionpt.com collected 2026-09-30 13:58:27 UTC 802 bytes, 3 lines download raw bytes

1(function(){document.addEventListener('DOMContentLoaded',function(){var navMenu=document.querySelector('.nav_menu');if(!navMenu){return}
2var parentItems=navMenu.querySelectorAll('.menu-item-has-children, .parent, .has-children');parentItems.forEach(function(item){var link=item.querySelector('a');if(!link){return}
3link.addEventListener('focus',function(){item.classList.add('focus')});link.addEventListener('blur',function(){setTimeout(function(){if(!item.contains(document.activeElement)){item.classList.remove('focus')}},10)});link.addEventListener('touchstart',function(e){if(window.innerWidth>999&&!item.classList.contains('focus')){e.preventDefault();parentItems.forEach(function(sibling){if(sibling!==item){sibling.classList.remove('focus')}});item.classList.add('focus')}},{passive:!1})})})})()

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.