always clear autocomplete after new matching

This commit is contained in:
Laura Klünder 2017-10-28 16:15:55 +02:00
parent 80347480be
commit 18aac563f4

View file

@ -91,6 +91,7 @@ c3nav = {
matches.sort(c3nav._typeahead_matches_compare);
$autocomplete.html('');
for (i=0;i<matches.length;i++) {
$autocomplete.append(matches[i][0]);
}