aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/jquery.ui.selectmenu.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js
index d13bc555f..59cd24006 100644
--- a/ui/jquery.ui.selectmenu.js
+++ b/ui/jquery.ui.selectmenu.js
@@ -155,9 +155,9 @@ $.widget( "ui.selectmenu", {
this._bind( document, {
'mousedown': function( event ) {
if ( this.opened && !$( event.target ).is( this.menu ) ) {
- window.setTimeout( function() {
+ this._delay( function() {
this.close( event );
- }, 200 );
+ }, 200);
}
}
});