We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 50a7d9b + b91bc43 commit 16e1344Copy full SHA for 16e1344
src/jquery.autocomplete.js
@@ -859,7 +859,7 @@
859
}
860
861
if (that.selectedIndex === 0) {
862
- $(that.suggestionsContainer).children().first().removeClass(that.classes.selected);
+ $(that.suggestionsContainer).children('.' + that.classes.suggestion).first().removeClass(that.classes.selected);
863
that.selectedIndex = -1;
864
that.ignoreValueChange = false;
865
that.el.val(that.currentValue);
0 commit comments