Solved XF.Icon.getIcon does not support "brands" variant

This topic has been solved
N

NikitOS

Guest
As said in the title.

For example, XF.Icon.getIcon('brands', 'airbnb') returns the following:
HTML:

<i class="fa--xf far fa-airbnb"><svg xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" ><use href="/data/local/icons/regular.svg?v=1711360995#airbnb"></use></svg></i>

Continue reading...