Skip to content

Commit

Permalink
Menu: Whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
kborchers committed May 9, 2012
1 parent 97cb7de commit 4e28500
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ui/jquery.ui.menu.js
Expand Up @@ -331,12 +331,12 @@ $.widget( "ui.menu", {
this.active.parent().closest( ".ui-menu-item" ).children( "a:first" ).addClass( "ui-state-active" );

if ( event.type === "keydown" ) {
this._close();
} else {
this.timer = this._delay(function() {
this._close();
} else {
this.timer = this._delay(function() {
this._close();
}, this.delay );
}
}

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

0 comments on commit 4e28500

Please sign in to comment.