From: Joshua Rüsweg Date: Thu, 1 Aug 2019 14:29:37 +0000 (+0200) Subject: Fix layout of legacy reaction count buttons X-Git-Tag: 5.2.0_Alpha_4~18 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c3696823c1438e4b8e8ca6588d1572ca144355b1;p=GitHub%2FWoltLab%2FWCF.git Fix layout of legacy reaction count buttons --- diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Like/Handler.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Like/Handler.js index 903ae3bddd..eb42e97e27 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Like/Handler.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Like/Handler.js @@ -147,10 +147,9 @@ define( countSpan.innerHTML = StringUtil.shortUnit(elementData.users[key]); createdElement.appendChild(countSpan); - createdElement.innerHTML = createdElement.innerHTML + REACTION_TYPES[key].renderedIcon; + createdElement.innerHTML = REACTION_TYPES[key].renderedIcon + createdElement.innerHTML; summaryList.appendChild(createdElement); - } if (isSummaryPosition) {