Changeset 39232
- Timestamp:
- 11/14/2016 10:33:40 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyseventeen/assets/js/navigation.js
r39221 r39232 21 21 container.find( '.current-menu-ancestor > button' ).addClass( 'toggled-on' ); 22 22 container.find( '.current-menu-ancestor > .sub-menu' ).addClass( 'toggled-on' ); 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 23 27 24 container.find( '.dropdown-toggle' ).click( function( e ) {
Note: See TracChangeset
for help on using the changeset viewer.