mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-10-05 01:44:18 +00:00
Selectmenu: changed to _delay
This commit is contained in:
parent
2e229e8ddc
commit
c0864df4d7
4
ui/jquery.ui.selectmenu.js
vendored
4
ui/jquery.ui.selectmenu.js
vendored
@ -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);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user