Changeset 5875
- Timestamp:
- 09/04/2017 03:03:14 PM (8 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/functions.php
r5871 r5875 47 47 48 48 // Cacheing hack 49 wp_enqueue_style( 'wporg-breathe', get_stylesheet_uri(), array( 'p2-breathe' ), '20170904 ' );49 wp_enqueue_style( 'wporg-breathe', get_stylesheet_uri(), array( 'p2-breathe' ), '20170904a' ); 50 50 } 51 51 add_action( 'wp_enqueue_scripts', __NAMESPACE__ . '\styles', 11 ); -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/js/chapters.js
r5871 r5875 11 11 12 12 // Open the current menu 13 jQuery( '. current-menu-item a' ).first()13 jQuery( '.menu-table-of-contents-container .current-menu-item a' ).first() 14 14 .addClass( 'active' ) 15 15 .parents( '.menu-item-has-children' ) 16 .toggleClass( 'open' ); 16 .toggleClass( 'open' ) 17 .find( '> div > .dashicons' ) 18 .attr( 'aria-expanded', true ); 17 19 18 20 // Or if wrapped in a div.expandable … … 23 25 24 26 menuToggle.toggleClass( 'open' ); 25 menuToggle.attr( 'aria-expanded', menuToggle.hasClass( 'open' ) );27 jQuery( this ).attr( 'aria-expanded', menuToggle.hasClass( 'open' ) ); 26 28 } ); 27 29 } );
Note: See TracChangeset
for help on using the changeset viewer.