Make WordPress Core

Ticket #56830: 56830.2.diff

File 56830.2.diff, 403 bytes (added by shubham1gupta, 20 months ago)
  • src/js/_enqueues/lib/dialog.js

    diff --git a/src/js/_enqueues/lib/dialog.js b/src/js/_enqueues/lib/dialog.js
    index eb7af5e6e3..1a42f7ab50 100644
    a b  
    1717                        this._super();
    1818
    1919                        // WebKit leaves focus in the TinyMCE editor unless we shift focus.
    20                         this.element._trigger('focus');
     20                        this._trigger('focus');
    2121                        this._trigger('refresh');
    2222                }
    2323        });