From 530e29810d9e955f6476c44fc106f68e76d2f57c Mon Sep 17 00:00:00 2001 From: JC Brand Date: Mon, 4 Nov 2019 18:25:25 +0100 Subject: [PATCH] Bugfix. Clicking emoji category twice closes picker and inserts null --- src/converse-emoji-views.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/converse-emoji-views.js b/src/converse-emoji-views.js index 54d4379df..38b0bb90f 100644 --- a/src/converse-emoji-views.js +++ b/src/converse-emoji-views.js @@ -136,7 +136,7 @@ converse.plugins.add('converse-emoji-views', { events: { 'click .emoji-picker__header li.emoji-category': 'chooseCategory', 'click .emoji-skintone-picker li.emoji-skintone': 'chooseSkinTone', - 'click .emoji-picker li': 'insertEmoji', + 'click .insert-emoji': 'insertEmoji', 'keydown .emoji-search': 'onKeyDown' },