Update app/soapbox/features/soapbox_config/components/icon_picker_dropdown.js
This commit is contained in:
parent
ea0d6484a6
commit
aea44e2ac6
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue