FIX: custom emoji autocomplete
This commit is contained in:
parent
8449896f3d
commit
9d4c53c882
|
@ -166,7 +166,7 @@ Discourse.Emoji.search = function(term, options) {
|
||||||
var maxResults = (options && options["maxResults"]) || -1;
|
var maxResults = (options && options["maxResults"]) || -1;
|
||||||
if (maxResults === 0) { return []; }
|
if (maxResults === 0) { return []; }
|
||||||
|
|
||||||
toSearch = toSearch || _.keys(emojiHash);
|
toSearch = toSearch || _.merge(_.keys(emojiHash), _.keys(extendedEmoji));
|
||||||
|
|
||||||
var i, results = [];
|
var i, results = [];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue