1export const run = () => { 2 document 3 .querySelectorAll('[data-js="nav-list-item"][aria-expanded="true"]') 4 .forEach((el) => (el.ariaExpanded = 'false')); 5 document.body.setAttribute('data-js-menu-open', 'false'); 6 const nav = document.querySelector('[data-js="ninjaone-nav"][aria-expanded="true"]'); 7 if (nav) { 8 nav.setAttribute('aria-expanded', 'false'); 9 } 10 const menu = document.querySelector('[data-js="ninja-mega-menu"]'); 11 if (menu) { 12 menu.style.setProperty('--mega-menu-height', 'auto'); 13 menu.style.setProperty('--mega-menu-height-mobile', 'auto'); 14 } 15};
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.