Ticket #38397: 38397.2.patch
| File 38397.2.patch, 786 bytes (added by , 9 years ago) |
|---|
-
src/wp-content/themes/twentyseventeen/assets/js/navigation.js
27 27 container.find( '.current-menu-ancestor > .sub-menu' ).addClass( 'toggled-on' ); 28 28 29 29 // Add menu items with submenus to aria-haspopup="true". 30 container.find( '.menu-item-has-children , .page_item_has_children' ).attr( 'aria-haspopup', 'true' );30 container.find( '.menu-item-has-children > a, .page_item_has_children > a' ).attr( 'aria-haspopup', 'true' ); 31 31 32 32 container.find( '.dropdown-toggle' ).click( function( e ) { 33 33 var _this = $( this ),