Selectmenu: close guard close should test for closed menu

This commit is contained in:
Felix Nagel 2012-12-03 22:58:07 +01:00
parent 0d282630de
commit 04553a7da5

View File

@ -232,7 +232,7 @@ $.widget( "ui.selectmenu", {
},
close: function( event ) {
if ( this.isOpen ) {
if ( !this.isOpen ) {
return false;
}