diff -r 490d5cc509ed -r cf61fcea0001 wp/wp-content/themes/twentyseventeen/assets/js/navigation.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wp/wp-content/themes/twentyseventeen/assets/js/navigation.js Mon Oct 14 17:39:30 2019 +0200 @@ -0,0 +1,109 @@ +/* global twentyseventeenScreenReaderText */ +/** + * Theme functions file. + * + * Contains handlers for navigation and widget area. + */ + +(function( $ ) { + var masthead, menuToggle, siteNavContain, siteNavigation; + + function initMainNavigation( container ) { + + // Add dropdown toggle that displays child menu items. + var dropdownToggle = $( '