diff options
author | TJ VanToll <tj.vantoll@gmail.com> | 2014-10-02 17:15:07 -0400 |
---|---|---|
committer | TJ VanToll <tj.vantoll@gmail.com> | 2014-10-03 09:30:49 -0400 |
commit | 6b6b49f678706280c5590a5097ef9f0aca359d4b (patch) | |
tree | 14436a911eb612afbe70147566f0cf4e142bc33f /ui | |
parent | e3e5a9ffa647937d2dd458114e27e04f56bd47d0 (diff) | |
download | jquery-ui-6b6b49f678706280c5590a5097ef9f0aca359d4b.tar.gz jquery-ui-6b6b49f678706280c5590a5097ef9f0aca359d4b.zip |
Menu: Maintain focus on already selected item during typeahead
Fixes #10644
Closes gh-1354
Diffstat (limited to 'ui')
-rw-r--r-- | ui/menu.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/menu.js b/ui/menu.js index 9664e37ef..1ecc0ea8c 100644 --- a/ui/menu.js +++ b/ui/menu.js @@ -251,7 +251,7 @@ return $.widget( "ui.menu", { if ( match.length ) { this.focus( event, match ); - if ( match.length > 1 ) { + if ( match.length > 0 ) { this.previousFilter = character; this.filterTimer = this._delay(function() { delete this.previousFilter; |