diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js index d13bc555f8..59cd240063 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); } } });