Skip to content

Commit

Permalink
Simplify emoji selection when limited list is used
Browse files Browse the repository at this point in the history
  • Loading branch information
angusmcleod committed Oct 16, 2020
1 parent 7b6b2b6 commit c172423
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ function initializePlugin(api) {

emojiPicker.onclick = (e) => {
if (e.target.classList.contains("emoji")) {
this.onEmojiSelection(e);
this.emojiSelected(e.target.title);
} else {
this.set('isActive', false);
this.onClose();
Expand Down

0 comments on commit c172423

Please sign in to comment.