Selectmenu: guard clause should not return false

This commit is contained in:
Felix Nagel 2012-12-03 23:05:09 +01:00
parent 04553a7da5
commit cba09dafa7

View File

@ -233,7 +233,7 @@ $.widget( "ui.selectmenu", {
close: function( event ) { close: function( event ) {
if ( !this.isOpen ) { if ( !this.isOpen ) {
return false; return;
} }
var id = this._getSelectedItem().find( "a" ).attr( "id" ); var id = this._getSelectedItem().find( "a" ).attr( "id" );