2
0
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:
Felipe Pupo Rodrigues 2014-08-29 18:10:35 -03:00
parent 41f2c3fd95
commit bdeddb3238

View File

@ -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;