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 97cb7de commit 4e28500Copy full SHA for 4e28500
ui/jquery.ui.menu.js
@@ -331,12 +331,12 @@ $.widget( "ui.menu", {
331
this.active.parent().closest( ".ui-menu-item" ).children( "a:first" ).addClass( "ui-state-active" );
332
333
if ( event.type === "keydown" ) {
334
- this._close();
335
- } else {
336
- this.timer = this._delay(function() {
+ this._close();
+ } else {
+ this.timer = this._delay(function() {
337
this._close();
338
}, this.delay );
339
- }
+ }
340
341
nested = $( "> .ui-menu", item );
342
if ( nested.length && ( /^mouse/.test( event.type ) ) ) {
0 commit comments