Make WordPress Core

Ticket #43202: 43202.diff

File 43202.diff, 634 bytes (added by afercia, 2 years ago)
  • src/js/media/views/frame/edit-attachments.js

     
    251251         * focus is in a textarea or input field.
    252252         */
    253253        keyEvent: function( event ) {
    254                 if ( ( 'INPUT' === event.target.nodeName || 'TEXTAREA' === event.target.nodeName ) && ! ( event.target.readOnly || event.target.disabled ) ) {
     254                if ( ( 'INPUT' === event.target.nodeName || 'TEXTAREA' === event.target.nodeName ) && ! event.target.disabled ) {
    255255                        return;
    256256                }
    257257