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
2
ui/jquery.ui.selectmenu.js
vendored
2
ui/jquery.ui.selectmenu.js
vendored
@ -155,7 +155,7 @@ $.widget( "ui.selectmenu", {
|
|||||||
this._bind( document, {
|
this._bind( document, {
|
||||||
'mousedown': function( event ) {
|
'mousedown': function( event ) {
|
||||||
if ( this.opened && !$( event.target ).is( this.menu ) ) {
|
if ( this.opened && !$( event.target ).is( this.menu ) ) {
|
||||||
window.setTimeout( function() {
|
this._delay( function() {
|
||||||
this.close( event );
|
this.close( event );
|
||||||
}, 200);
|
}, 200);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user