set mentions limit at 1 instead of 2. [ci skip]
This commit is contained in:
parent
a3d596a853
commit
53128f3153
1 changed files with 1 additions and 0 deletions
|
|
@ -11,6 +11,7 @@ var Mentions = {
|
|||
|
||||
options: {
|
||||
elastic: false,
|
||||
minChars: 1,
|
||||
|
||||
onDataRequest: function(mode, query, callback) {
|
||||
var filteredResults = _.filter(Mentions.contacts, function(item) { return item.name.toLowerCase().indexOf(query.toLowerCase()) > -1 });
|
||||
|
|
|
|||
Loading…
Reference in a new issue