mirror of
https://github.com/devbridge/jQuery-Autocomplete.git
synced 2024-11-25 06:07:45 +00:00
Merge pull request #677 from anton-github/master
Fix keyboard navigation of the grouped list
This commit is contained in:
commit
16e13441b9
@ -859,7 +859,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (that.selectedIndex === 0) {
|
if (that.selectedIndex === 0) {
|
||||||
$(that.suggestionsContainer).children().first().removeClass(that.classes.selected);
|
$(that.suggestionsContainer).children('.' + that.classes.suggestion).first().removeClass(that.classes.selected);
|
||||||
that.selectedIndex = -1;
|
that.selectedIndex = -1;
|
||||||
that.ignoreValueChange = false;
|
that.ignoreValueChange = false;
|
||||||
that.el.val(that.currentValue);
|
that.el.val(that.currentValue);
|
||||||
|
Loading…
Reference in New Issue
Block a user