Ticket #39026: 39026.patch
File 39026.patch, 841 bytes (added by , 7 years ago) |
---|
-
src/wp-content/themes/twentyseventeen/assets/js/navigation.js
18 18 container.find( '.menu-item-has-children > a, .page_item_has_children > a' ).after( dropdownToggle ); 19 19 20 20 // Toggle buttons and submenu items with active children menu items. 21 container.find( '.current-menu-ancestor > button' ).addClass( 'toggled-on' ) ;21 container.find( '.current-menu-ancestor > button' ).addClass( 'toggled-on' ).attr( 'aria-expanded', 'true' ); 22 22 container.find( '.current-menu-ancestor > .sub-menu' ).addClass( 'toggled-on' ); 23 23 24 24 container.find( '.dropdown-toggle' ).click( function( e ) {