WordPress.org

Make WordPress Core

Ticket #29776: media-grid.diff

File media-grid.diff, 556 bytes (added by danielpataki, 6 years ago)

Diff for media grid javascript

  • media-grid.js

     
    580580                 * Respond to the keyboard events: right arrow, left arrow, escape.
    581581                 */
    582582                keyEvent: function( event ) {
    583                         if ( 'INPUT' === event.target.tagName && ! ( event.target.readOnly || event.target.disabled ) ) {
     583                        if ( ( 'INPUT' === event.target.tagName || 'TEXTAREA' === event.target.tagName ) && ! ( event.target.readOnly || event.target.disabled ) ) {
    584584                                return;
    585585                        }
    586586