mirror of
https://github.com/devbridge/jQuery-Autocomplete.git
synced 2024-11-25 22:27:39 +00:00
Improvement item for work with others plugins
This commit is contained in:
parent
41f2c3fd95
commit
bdeddb3238
@ -771,9 +771,9 @@
|
|||||||
activeItem,
|
activeItem,
|
||||||
selected = that.classes.selected,
|
selected = that.classes.selected,
|
||||||
container = $(that.suggestionsContainer),
|
container = $(that.suggestionsContainer),
|
||||||
children = container.children();
|
children = container.find('.' + that.classes.suggestion);
|
||||||
|
|
||||||
container.children('.' + selected).removeClass(selected);
|
container.find('.' + selected).removeClass(selected);
|
||||||
|
|
||||||
that.selectedIndex = index;
|
that.selectedIndex = index;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user