mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-05-13 03:01:39 -04:00
Selectmenu: close guard close should test for closed menu
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user