Dynamically changing FA icons?

I have the following FA icon:
Code:

<xf:fa icon="fa-square" />

I want to change the icon when a link is clicked to fa-check-square. In previous versions of XF, I could simply change the class in JS. But this doesn't seem to work anymore. Is there a proper way to do this now?

Читать далее...
 
Активность
Пока что здесь никого нет
Назад
Верх Низ