summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/js/_enqueues/lib/dialog.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/_enqueues/lib/dialog.js b/src/js/_enqueues/lib/dialog.js
index 327d8768b8..eb7af5e6e3 100644
--- a/src/js/_enqueues/lib/dialog.js
+++ b/src/js/_enqueues/lib/dialog.js
@@ -17,7 +17,7 @@
this._super();
// WebKit leaves focus in the TinyMCE editor unless we shift focus.
- this.element.focus();
+ this.element._trigger('focus');
this._trigger('refresh');
}
});