mirror of
https://github.com/devbridge/jQuery-Autocomplete.git
synced 2024-11-09 14:50:57 +00:00
Fix for incorrect highlighting of first item, if using groupBy. Fixes #326
This commit is contained in:
parent
451c5efe95
commit
3dd9add2ab
@ -694,7 +694,7 @@
|
||||
if (options.autoSelectFirst) {
|
||||
that.selectedIndex = 0;
|
||||
container.scrollTop(0);
|
||||
container.children().first().addClass(classSelected);
|
||||
container.children('.' + className).first().addClass(classSelected);
|
||||
}
|
||||
|
||||
that.visible = true;
|
||||
|
Loading…
Reference in New Issue
Block a user