From bbac5c7359e34a33b4732b65ec2301488fafd195 Mon Sep 17 00:00:00 2001 From: unarist Date: Thu, 4 May 2017 22:50:09 +0900 Subject: [PATCH] Show emoji shortname by a tooltip (#2784) --- app/javascript/mastodon/emoji.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/javascript/mastodon/emoji.js b/app/javascript/mastodon/emoji.js index eee657b86c..01d01fb720 100644 --- a/app/javascript/mastodon/emoji.js +++ b/app/javascript/mastodon/emoji.js @@ -15,7 +15,7 @@ const unicodeToImage = str => { const filename = emojione.emojioneList[short].fname; const alt = emojione.convert(unicode.toUpperCase()); - return `${alt}`; + return `${alt}`; }); }; @@ -27,7 +27,7 @@ const shortnameToImage = str => str.replace(emojione.regShortNames, shortname => const unicode = emojione.emojioneList[shortname].unicode[emojione.emojioneList[shortname].unicode.length - 1]; const alt = emojione.convert(unicode.toUpperCase()); - return `${alt}`; + return `${alt}`; }); export default function emojify(text) {