From: Alexander Ebert Date: Thu, 18 Aug 2022 17:57:15 +0000 (+0200) Subject: Convert legacy icons X-Git-Tag: 6.0.0_Alpha_1~1024^2~2^2~35 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ae4dd172293174705722adbd1ad691c33d17f30c;p=GitHub%2FWoltLab%2FWCF.git Convert legacy icons --- diff --git a/com.woltlab.wcf/templates/__iconFormField.tpl b/com.woltlab.wcf/templates/__iconFormField.tpl index ad6728ef72..6c47495c41 100644 --- a/com.woltlab.wcf/templates/__iconFormField.tpl +++ b/com.woltlab.wcf/templates/__iconFormField.tpl @@ -19,7 +19,6 @@ const input = document.getElementById('{@$field->getPrefixedId()}'); const callback = (iconName, forceSolid) => { - icon.className = 'icon icon64 fa-' + iconName; input.value = iconName; let icon = iconContainer.querySelector("fa-icon"); diff --git a/com.woltlab.wcf/templates/__suffixFormFieldContainer.tpl b/com.woltlab.wcf/templates/__suffixFormFieldContainer.tpl index c6ea9e6356..a1cc3421d0 100644 --- a/com.woltlab.wcf/templates/__suffixFormFieldContainer.tpl +++ b/com.woltlab.wcf/templates/__suffixFormFieldContainer.tpl @@ -15,7 +15,7 @@ {/if} {else} - {@$element->getSelectedSuffixOption()[label]} + {@$element->getSelectedSuffixOption()[label]} {icon size=16 name='caret-down' type='solid'}