Make WordPress Core

Ticket #30392: 30392.2.patch

File 30392.2.patch, 500 bytes (added by azaozz, 10 years ago)
  • src/wp-includes/js/media-views.js

     
    37673767                                return;
    37683768                        }
    37693769
    3770                         tabbables = this.$( ':tabbable' );
     3770                        tabbables = this.$( ':tabbable' ).not( 'input[type="file"]' );
    37713771
    37723772                        // Keep tab focus within media modal while it's open
    37733773                        if ( tabbables.last()[0] === event.target && ! event.shiftKey ) {