diff options
Diffstat (limited to 'ui/spinner.js')
-rw-r--r-- | ui/spinner.js | 2 |
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 |