Changeset 29553
- Timestamp:
- 08/20/2014 05:19:02 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/media-views.js
r29547 r29553 5010 5010 } 5011 5011 5012 // Bail if the model is already selected. 5013 if ( this.$el.hasClass( 'selected' ) ) { 5014 return; 5015 } 5016 5017 // Add 'selected' class to model, set aria-checked to true and make the checkbox tabable. 5012 5018 this.$el.addClass( 'selected' ).attr( 'aria-checked', true ) 5013 5019 .find( '.check' ).attr( 'tabindex', '0' ); 5014 5020 5015 // When selecting an attachment, focus should be transferred to the right details panel 5021 // When selecting an attachment, focus should be transferred to the right details panel. 5016 5022 if ( ! isTouchDevice ) { 5017 5023 $('.attachment-details input').first().focus();
Note: See TracChangeset
for help on using the changeset viewer.