Ticket #28969: 28969.diff
File 28969.diff, 474 bytes (added by , 10 years ago) |
---|
-
src/wp-includes/js/media-grid.js
463 463 464 464 this.modal.on( 'open', function () { 465 465 $( 'body' ).on( 'keydown.media-modal', _.bind( self.keyEvent, self ) ); 466 $( '.media-modal-close' ).blur(); 466 467 } ); 467 468 468 469 // Completely destroy the modal DOM element when closing it.