Skip to content

Commit 4e28500

Browse files
committed
Menu: Whitespace
1 parent 97cb7de commit 4e28500

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ui/jquery.ui.menu.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -331,12 +331,12 @@ $.widget( "ui.menu", {
331331
this.active.parent().closest( ".ui-menu-item" ).children( "a:first" ).addClass( "ui-state-active" );
332332

333333
if ( event.type === "keydown" ) {
334-
this._close();
335-
} else {
336-
this.timer = this._delay(function() {
334+
this._close();
335+
} else {
336+
this.timer = this._delay(function() {
337337
this._close();
338338
}, this.delay );
339-
}
339+
}
340340

341341
nested = $( "> .ui-menu", item );
342342
if ( nested.length && ( /^mouse/.test( event.type ) ) ) {

0 commit comments

Comments
 (0)