From 86a6fa909072bdd1ac89904e7a79539550eb2266 Mon Sep 17 00:00:00 2001 From: lowlighter <22963968+lowlighter@users.noreply.github.com> Date: Wed, 10 Mar 2021 02:33:41 +0100 Subject: [PATCH] Fix display for reactions plugin --- source/plugins/reactions/index.mjs | 2 +- .../templates/classic/partials/reactions.ejs | 18 ++++++++++-------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/source/plugins/reactions/index.mjs b/source/plugins/reactions/index.mjs index e2b46d80..9fc0894a 100644 --- a/source/plugins/reactions/index.mjs +++ b/source/plugins/reactions/index.mjs @@ -45,7 +45,7 @@ list[key] = {value, score:value/(display === "relative" ? max : reactions.length)} //Results - return {list, comments:comments.length, details, days} + return {list, comments:comments.length, details, days, twemoji:q["config.twemoji"]} } //Handle errors catch (error) { diff --git a/source/templates/classic/partials/reactions.ejs b/source/templates/classic/partials/reactions.ejs index 33085bb4..b2f2157c 100644 --- a/source/templates/classic/partials/reactions.ejs +++ b/source/templates/classic/partials/reactions.ejs @@ -13,12 +13,14 @@ <% } else { %>