diff options
author | kborchers <kris.borchers@gmail.com> | 2012-05-08 23:57:56 -0500 |
---|---|---|
committer | kborchers <kris.borchers@gmail.com> | 2012-05-08 23:57:56 -0500 |
commit | 4e2850039173819eb612d4d2a7cebe155f0e94cc (patch) | |
tree | 28d502337e0fc233695c2d089c054d831c705113 /ui/jquery.ui.menu.js | |
parent | 97cb7deceeeeac93e583044886d8ed1966d8baf5 (diff) | |
download | jquery-ui-4e2850039173819eb612d4d2a7cebe155f0e94cc.tar.gz jquery-ui-4e2850039173819eb612d4d2a7cebe155f0e94cc.zip |
Menu: Whitespace
Diffstat (limited to 'ui/jquery.ui.menu.js')
-rw-r--r-- | ui/jquery.ui.menu.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/jquery.ui.menu.js b/ui/jquery.ui.menu.js index 8956d6404..7704521fb 100644 --- a/ui/jquery.ui.menu.js +++ b/ui/jquery.ui.menu.js @@ -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 ) ) ) { |