From 89bf0d057bc9ec552b042a997501e094e95da543 Mon Sep 17 00:00:00 2001 From: Alexander Schmitz Date: Wed, 13 May 2015 22:01:44 -0400 Subject: Spinner: Remove core event/alias and deprecated module dependencies --- ui/spinner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui') 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 -- cgit v1.2.3