Skip to content

Commit 3264901

Browse files
author
Tomas Kirda
committed
Merge pull request devbridge#33 from ericsaboia/patch-1
Removing empty query validation on value change
2 parents 3757add + b87a208 commit 3264901

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jquery.autocomplete.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@
360360
return;
361361
}
362362

363-
if (q === '' || q.length < that.options.minChars) {
363+
if (q.length < that.options.minChars) {
364364
that.hide();
365365
} else {
366366
that.getSuggestions(q);

0 commit comments

Comments
 (0)