Skip to content

Commit

Permalink
FIX: missing emoji autocomplete
Browse files Browse the repository at this point in the history
  • Loading branch information
ZogStriP committed Jun 5, 2015
1 parent feeb509 commit a09d893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/discourse/lib/emoji/emoji.js.erb
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ Discourse.Emoji.search = function(term, options) {
var maxResults = (options && options["maxResults"]) || -1;
if (maxResults === 0) { return []; }

toSearch = toSearch || _.merge(_.keys(emojiHash), _.keys(extendedEmoji));
toSearch = toSearch || _.union(_.keys(emojiHash), _.keys(extendedEmoji)).sort();

var i, results = [];

Expand Down

1 comment on commit a09d893

@SamSaffron
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ahhh ... thanks!

Please sign in to comment.