From a65da050947baac60e371b1353d33f3acb849724 Mon Sep 17 00:00:00 2001 From: JC Brand Date: Thu, 26 Nov 2020 14:19:30 +0100 Subject: [PATCH] Revert "fix emoji-picker for use_system_emojis==false" This reverts commit e0088a45da9585938be9ea034f48cc07da36baa3. --- src/components/emoji-picker.js | 2 +- src/templates/emoji_picker.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/emoji-picker.js b/src/components/emoji-picker.js index 32b3db31b..4113cf1aa 100644 --- a/src/components/emoji-picker.js +++ b/src/components/emoji-picker.js @@ -61,7 +61,7 @@ export default class EmojiPicker extends CustomElement { 'query': this.query, 'search_results': this.search_results, 'render_emojis': this.render_emojis, - 'sn2Emoji': shortname => u.shortnamesToEmojis(this.getTonedShortname(shortname), {'add_title_wrapper': true}) + 'sn2Emoji': shortname => u.shortnamesToEmojis(this.getTonedShortname(shortname)) }); } diff --git a/src/templates/emoji_picker.js b/src/templates/emoji_picker.js index 3283d6bcd..23446fda6 100644 --- a/src/templates/emoji_picker.js +++ b/src/templates/emoji_picker.js @@ -28,7 +28,7 @@ const emoji_picker_header = (o) => { const emoji_item = (o) => { return html`
  • - ${u.shortnamesToEmojis(o.emoji.sn, {'add_title_wrapper': true})} + ${u.shortnamesToEmojis(o.emoji.sn)}
  • `; } @@ -65,7 +65,7 @@ export const tpl_all_emojis = (o) => { const skintone_emoji = (o) => { return html`
  • - ${u.shortnamesToEmojis(':'+o.skintone+':', {'add_title_wrapper': true})} + ${u.shortnamesToEmojis(':'+o.skintone+':')}
  • `; }