1/** 2 * File navigation.js. 3 * 4 * Handles toggling the navigation menu for small screens. 5 */ 6function mobileMenuOpen() { 7 //document.getElementById("mobileNav").classList.toggle("showMenu"); 8 document.getElementById('hamburglar').classList.toggle('is-active'); 9 document.getElementById('mobile-menu').classList.toggle('is-active'); 10 document.getElementById('masthead').classList.toggle('is-active'); 11 12 var x = document.getElementById('hamburglar').getAttribute('aria-expanded'); 13 if (x === 'false') 14 { 15 x = 'true'; 16 } else { 17 x = 'false'; 18 } 19 document.getElementById('hamburglar').setAttribute('aria-expanded', x); 20 21 var y = document.getElementById('mobile-menu').getAttribute('aria-expanded'); 22 if (y === 'false') 23 { 24 y = 'true'; 25 } else { 26 y = 'false'; 27 } 28 document.getElementById('mobile-menu').setAttribute('aria-expanded', y); 29 30 31}
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.