We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 890a45a commit 49f8550Copy full SHA for 49f8550
ui/jquery.ui.menu.js
@@ -196,15 +196,16 @@ $.widget( "ui.menu", {
196
event.preventDefault();
197
break;
198
case $.ui.keyCode.RIGHT:
199
- !this.active.is(".ui-state-disabled") && this.expand( event );
+ if ( !this.active.is( ".ui-state-disabled" ) ) {
200
+ this.expand( event );
201
+ }
202
203
204
case $.ui.keyCode.ENTER:
- if ( !this.active.is(".ui-state-disabled") ) {
205
206
if ( this.active.children( "a[aria-haspopup='true']" ).length ) {
207
this.expand( event );
- }
- else {
208
+ } else {
209
this.select( event );
210
}
211
0 commit comments