Permalink
Browse files

Selectmenu: close guard close should test for closed menu

  • Loading branch information...
1 parent 0d28263 commit 04553a7da52fb589c24755a2d42cf29be8db4b4b @fnagel fnagel committed Dec 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/jquery.ui.selectmenu.js
View
2 ui/jquery.ui.selectmenu.js
@@ -232,7 +232,7 @@ $.widget( "ui.selectmenu", {
},
close: function( event ) {
- if ( this.isOpen ) {
+ if ( !this.isOpen ) {
return false;
}

0 comments on commit 04553a7

Please sign in to comment.