1/* Cabeçalho fixo */ 2 3(($) => { 4 var menuIsOpen = false; 5 6 window.addEventListener('scroll', function(event){ 7 if(event.target.scrollingElement.scrollTop > 0){ 8 document.body.classList.add('header-fixed'); 9 }else{ 10 document.body.classList.remove('header-fixed'); 11 } 12 }); 13 $(document).ready(function(){ 14 $('.toggle-menu').click(function(){ 15 menuIsOpen = !menuIsOpen; 16 document.body.classList.toggle('show-mobile-menu'); 17 }); 18 }); 19 20})(jQuery); 21 22/* Fim Cabeçalho fixo */
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.