set mentions limit at 1 instead of 2. [ci skip]

This commit is contained in:
danielgrippi 2012-01-26 18:57:41 -08:00
parent a3d596a853
commit 53128f3153

View file

@ -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 });