aboutsummaryrefslogtreecommitdiffstats
path: root/ui/spinner.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/spinner.js')
-rw-r--r--ui/spinner.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/spinner.js b/ui/spinner.js
index 9a08208c1..236a66afa 100644
--- a/ui/spinner.js
+++ b/ui/spinner.js
@@ -165,7 +165,7 @@ return $.widget( "ui.spinner", {
function checkFocus() {
var isActive = this.element[ 0 ] === $.ui.safeActiveElement( this.document[ 0 ] );
if ( !isActive ) {
- this.element.focus();
+ this.element.trigger( "focus" );
this.previous = previous;
// support: IE
// IE sets focus asynchronously, so we need to check if focus