Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Font Awesome PRO breaks the library somehow... #4

Open
dazetoyo opened this issue Jun 25, 2020 · 0 comments
Open

Using Font Awesome PRO breaks the library somehow... #4

dazetoyo opened this issue Jun 25, 2020 · 0 comments

Comments

@dazetoyo
Copy link

When I'm using <script src="https://use.fontawesome.com/releases/v5.0.8/js/all.js"></script> everything seems to be working fine. The animation happens and it works.
However when I'm using the font-awesome pro version (or specific font awesome kit) like this <script src="https://kit.fontawesome.com/fb4dbb8b96.js" crossorigin="anonymous"></script> it shows the error Vivus [constructor]: "element" parameter is not valid (or miss the "file" attribute).

From my research the ID is only applied to the first element and the SVG's that get injected by font awesome are ignored.

Any way around this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant