Update app/soapbox/features/soapbox_config/components/icon_picker_dropdown.js

This commit is contained in:
Sean 2022-02-03 16:14:36 +00:00
parent ea0d6484a6
commit aea44e2ac6
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ class IconPickerMenu extends React.PureComponent {
// Nice and dirty hack to display the icons
c.querySelectorAll('button.emoji-mart-emoji > img').forEach(elem => {
const newIcon = document.createElement('span');
const newIcon = document.createElement('span');
newIcon.innerHTML = `<i class="fa fa-${elem.parentNode.getAttribute('title')} fa-hack"></i>`;
elem.parentNode.replaceChild(newIcon, elem);
});