Ticket #38397: 38397.3.patch
| File 38397.3.patch, 804 bytes (added by , 9 years ago) |
|---|
-
src/wp-content/themes/twentyseventeen/assets/js/navigation.js
21 21 container.find( '.current-menu-ancestor > button' ).addClass( 'toggled-on' ); 22 22 container.find( '.current-menu-ancestor > .sub-menu' ).addClass( 'toggled-on' ); 23 23 24 // Add menu items with submenus to aria-haspopup="true".25 container.find( '.menu-item-has-children, .page_item_has_children' ).attr( 'aria-haspopup', 'true' );26 27 24 container.find( '.dropdown-toggle' ).click( function( e ) { 28 25 var _this = $( this ), 29 26 screenReaderSpan = _this.find( '.screen-reader-text' );