Accept tags consisting of only two letters, too.
This commit is contained in:
1 parent
0a55730696
commit
1f7fe35cec
2 files changed
+2
-2
No files matched your search
@@ -69,7 +69,7 @@ AutoSuggest.prototype.onType = function(input, event) {
|
||||
}
|
||||
|
||||
var tokens = input.value.split(/\s+/).filter(function(token) {
|
||||
return token.length >= 3;
|
||||
return token.length >= 2;
|
||||
});
|
||||
|
||||
if (tokens.length === 0) {
|
||||
|
||||
Reference in new issue
Block a user