aboutsummaryrefslogtreecommitdiffstats
path: root/ui/widgets/button.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/widgets/button.js')
-rw-r--r--ui/widgets/button.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/widgets/button.js b/ui/widgets/button.js
index 3def0f9aa..a4be3c76e 100644
--- a/ui/widgets/button.js
+++ b/ui/widgets/button.js
@@ -263,7 +263,7 @@ $.widget( "ui.button", {
this._toggleClass( null, "ui-state-disabled", value );
this.element[ 0 ].disabled = value;
if ( value ) {
- this.element.blur();
+ this.element.trigger( "blur" );
}
}
},