WordPress.org

Make WordPress Core

Ticket #23560: 23560.11.diff

File 23560.11.diff, 429 bytes (added by ericlewis, 5 years ago)
  • src/wp-includes/js/media-views.js

    diff --git a/src/wp-includes/js/media-views.js b/src/wp-includes/js/media-views.js
    index eab3c87..c129672 100644
    a b  
    33023302                        if ( 27 === event.which && this.$el.is(':visible') ) {
    33033303                                this.escape();
    33043304                                event.stopImmediatePropagation();
    3305                         } else {
    3306                                 // Keep focus inside the media modal
    3307                                 this.focusManager;
    33083305                        }
    33093306                }
    33103307        });