Emoji: Eliminate unused images, make sure panel clicks add emoji (#1849)
* Emoji: Ensure that all clicks work by using emoji data directly * Eliminate a number of unused emoji images from final build * Re-add the generic sheets directory, which we partially filter
This commit is contained in:
parent
9c7ba87d6a
commit
2430ee00d4
5 changed files with 7 additions and 3 deletions
|
@ -974,7 +974,7 @@
|
|||
this.updateMessageFieldSize({});
|
||||
},
|
||||
insertEmoji: function(e) {
|
||||
var colons = ':' + emoji.data[e.unified.toLowerCase()][3][0] + ':';
|
||||
var colons = ':' + emojiData[e.index].short_name + ':';
|
||||
|
||||
var textarea = this.$messageField[0];
|
||||
if (textarea.selectionStart || textarea.selectionStart == '0') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue