Make WordPress Core

Ticket #56830: 56830.3.diff

File 56830.3.diff, 411 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..68e6c3cdd7 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.element.trigger('focus'); 
    2121                        this._trigger('refresh');
    2222                }
    2323        });