Changeset 45069
- Timestamp:
- 03/29/2019 11:26:33 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/js/_enqueues/admin/site-health.js
r45055 r45069 31 31 $( this ).attr( 'aria-expanded', 'true' ); 32 32 $( '#' + $( this ).attr( 'aria-controls' ) ).attr( 'hidden', false ); 33 }34 } );35 36 $( '.health-check-accordion' ).on( 'keyup', '.health-check-accordion-trigger', function( e ) {37 if ( '38' === e.keyCode.toString() ) {38 $( '.health-check-accordion-trigger', $( this ).closest( 'dt' ).prevAll( 'dt' ) ).focus();39 } else if ( '40' === e.keyCode.toString() ) {40 $( '.health-check-accordion-trigger', $( this ).closest( 'dt' ).nextAll( 'dt' ) ).focus();41 33 } 42 34 } );
Note: See TracChangeset
for help on using the changeset viewer.