From e57e6f509d19192dc32a1f18e5b1cc780dfd5fd1 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 eee657b86..01d01fb72 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) {