mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Selectmenu: guard clause should not return false
This commit is contained in:
parent
04553a7da5
commit
cba09dafa7
2
ui/jquery.ui.selectmenu.js
vendored
2
ui/jquery.ui.selectmenu.js
vendored
@ -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" );
|
||||||
|
Loading…
Reference in New Issue
Block a user