mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Selectmenu: close guard close should test for closed menu
This commit is contained in:
parent
0d282630de
commit
04553a7da5
2
ui/jquery.ui.selectmenu.js
vendored
2
ui/jquery.ui.selectmenu.js
vendored
@ -232,7 +232,7 @@ $.widget( "ui.selectmenu", {
|
||||
},
|
||||
|
||||
close: function( event ) {
|
||||
if ( this.isOpen ) {
|
||||
if ( !this.isOpen ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user