mirror of
https://github.com/xvvvyz/tilde.git
synced 2026-03-11 14:44:24 +00:00
make suggestion matching less strict
This commit is contained in:
parent
99c4729023
commit
4f68ffc740
1 changed files with 1 additions and 1 deletions
|
|
@ -361,7 +361,7 @@
|
|||
|
||||
queries
|
||||
.filter(function(query) {
|
||||
var matchesQuery = query[0].match(new RegExp('^' + input));
|
||||
var matchesQuery = query[0].match(new RegExp(input));
|
||||
return input && matchesQuery && input !== query[0];
|
||||
})
|
||||
.slice(0, config.suggestionsLimit).forEach(function(query) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue