Permalink
Browse files

Selectmenu: guard clause should not return false

  • Loading branch information...
1 parent 04553a7 commit cba09dafa7b2df56730851aeaf8e79ae50355e40 @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
@@ -233,7 +233,7 @@ $.widget( "ui.selectmenu", {
close: function( event ) {
if ( !this.isOpen ) {
- return false;
+ return;
}
var id = this._getSelectedItem().find( "a" ).attr( "id" );

0 comments on commit cba09da

Please sign in to comment.