WordPress.org

Make WordPress Core

Ticket #23560: 23560-image-selected.diff

File 23560-image-selected.diff, 484 bytes (added by lessbloat, 5 years ago)
  • wp-includes/js/media-views.js

     
    46874687                        this.toggleSelection({
    46884688                                method: method
    46894689                        });
     4690                       
     4691                        // When selecting an image, focus should be transferred to the right details panel
     4692                        $('.attachment-details').find( ':focusable' ).first().focus();
    46904693                },
    46914694                /**
    46924695                 * @param {Object} options