mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Menu: Remove unnecessary returns from expand and collapse
This commit is contained in:
parent
22d078aac6
commit
1a22a675d8
2
ui/jquery.ui.menu.js
vendored
2
ui/jquery.ui.menu.js
vendored
@ -483,7 +483,6 @@ $.widget( "ui.menu", {
|
|||||||
if ( newItem && newItem.length ) {
|
if ( newItem && newItem.length ) {
|
||||||
this._close();
|
this._close();
|
||||||
this.focus( event, newItem );
|
this.focus( event, newItem );
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -501,7 +500,6 @@ $.widget( "ui.menu", {
|
|||||||
this._delay(function() {
|
this._delay(function() {
|
||||||
this.focus( event, newItem );
|
this.focus( event, newItem );
|
||||||
}, 20 );
|
}, 20 );
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user