aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorAlexander Schmitz <arschmitz@gmail.com>2015-05-13 22:01:44 -0400
committerAlexander Schmitz <arschmitz@gmail.com>2015-05-20 14:27:56 -0400
commit89bf0d057bc9ec552b042a997501e094e95da543 (patch)
treebdb5023f4df056eddd43052b5224ebfedbfc47ac /ui
parentd157b59a511be306f32f8d5a84b575961013ebd0 (diff)
downloadjquery-ui-89bf0d057bc9ec552b042a997501e094e95da543.tar.gz
jquery-ui-89bf0d057bc9ec552b042a997501e094e95da543.zip
Spinner: Remove core event/alias and deprecated module dependencies
Diffstat (limited to 'ui')
-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