1if (!FonteGaia) { 2 var FonteGaia = {}; 3} 4 5(function ($) { 6 7 FonteGaia.mobileMenu = function() { 8 $('.supports.touchevents #primary-nav li ul').each(function() { 9 var childMenu = $(this); 10 var subnavToggle = $('<button type="button" class="sub-nav-toggle" aria-label="Show subnavigation"></button>'); 11 subnavToggle.click(function() { 12 $(this).parent('.parent').toggleClass('open'); 13 }); 14 childMenu.parent().addClass('parent'); 15 childMenu.addClass('sub-nav').before(subnavToggle); 16 }); 17 18 $('.menu-button').click( function(e) { 19 e.preventDefault(); 20 $('#primary-nav ul.navigation').toggle(); 21 }); 22 }; 23 24})(jQuery);
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.