1//CORE JS FUNCTIONALITY 2//Contains only the most essential functions for the theme. No jQuery. 3 4//MOBILE MENU TOGGLE 5var menu_element = document.getElementById('menu-mobile-open'); 6var menu_exists = !!menu_element; 7if(menu_exists){ 8 menu_element.addEventListener('click', function(){ 9 document.body.classList.add('menu-mobile-active'); 10 }); 11 12 document.getElementById('menu-mobile-close').addEventListener('click', function(){ 13 document.body.classList.remove('menu-mobile-active'); 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.