tinoni / translate.js

A jQuery plugin to translate text in the client side
MIT License
87 stars 84 forks source link

Translation not working on "a role=button" with an icon inside #18

Closed Victor-JP closed 4 years ago

Victor-JP commented 4 years ago

I don't know how to make it work in a button text when that button also has an icon.

For example:

<a href="#" role="button" class="btn trn"><i class="fas fa-plus-square"></i> Add </a>

When removing the icon, it works fine.

Victor-JP commented 4 years ago

Fixed by adding icons trough CSS instead.