Selectmenu: changed to _delay

This commit is contained in:
Felix Nagel 2011-10-12 02:02:19 +02:00
parent 2e229e8ddc
commit c0864df4d7

View File

@ -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);
}
}
});