1/* global twentyseventeenScreenReaderText */ 2/** 3 * Theme functions file. 4 * 5 * Contains handlers for navigation and widget area. 6 */ 7 8(function( $ ) { 9 10 //var masthead, menuToggle, siteNavContain, siteNavigation, siteNavMobileContain, siteNavigationMobile; 11 12 var html = $( 'html' ); 13 var navigation = $( '.navigation' ); 14 var menuToggle = navigation.find( '.menu-toggle' ); 15 var mobileNav = navigation.find( '.navigation-mobile' ); 16 //var siteNavigationMobile = navigation.find( '.main-navigation > div > ul' ); 17 18 //console.log('ciao'); 19 20 $( window ).off( 'scroll' ); 21 22 /* 23 $( window ).on( 'scroll', function() { 24 //adjustScrollClass(); 25 adjustHeaderHeight(); 26 }); 27 */ 28 29 30 if ( ! menuToggle.length ) { 31 return; 32 } 33 34 35 /* 36 menuToggle.off( 'click.twentyseventeen' ); 37 38 39 menuToggle.on( 'click.twentyseventeen', function() { 40 html.toggleClass( 'toggled-on' ); 41 navigation.toggleClass( 'toggled-on' ); 42 mobileNav.toggleClass( 'show' ); 43 $( this ).attr( 'aria-expanded', mobileNav.hasClass( 'show' ) ); 44 console.log('2'); 45 }); 46 */ 47})( jQuery ); 48
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.