aboutsummaryrefslogtreecommitdiffstats
path: root/ui/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'ui/widgets')
-rw-r--r--ui/widgets/button.js2
-rw-r--r--ui/widgets/selectmenu.js2
-rw-r--r--ui/widgets/tooltip.js2
3 files changed, 3 insertions, 3 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" );
}
}
},
diff --git a/ui/widgets/selectmenu.js b/ui/widgets/selectmenu.js
index 52139f73e..79e97816b 100644
--- a/ui/widgets/selectmenu.js
+++ b/ui/widgets/selectmenu.js
@@ -97,7 +97,7 @@ return $.widget( "ui.selectmenu", [ $.ui.formResetMixin, {
this.labels = this.element.labels().attr( "for", this.ids.button );
this._on( this.labels, {
click: function( event ) {
- this.button.focus();
+ this.button.trigger( "focus" );
event.preventDefault();
}
} );
diff --git a/ui/widgets/tooltip.js b/ui/widgets/tooltip.js
index d466410d7..106485269 100644
--- a/ui/widgets/tooltip.js
+++ b/ui/widgets/tooltip.js
@@ -331,7 +331,7 @@ $.widget( "ui.tooltip", {
position( positionOption.of );
clearInterval( delayedShow );
}
- }, $.fx.interval );
+ }, 13 );
}
this._trigger( "open", event, { tooltip: tooltip } );