-
Notifications
You must be signed in to change notification settings - Fork 12.2k
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
Bug: 6.7 javascript breaks jquery #20423
Comments
@dougroutledge if you can give us a reproduction we'll take a look. |
confirmed with 6.7.1 as well. I replace all.min.css, all.min.js, and v4 shim css and js files with 6.6.0 and it's fine. 6.7.0 and 6.7.1 throw an error about |
Oddly enough if I load the free one from cdn instead of the pro from the local folder, it doesn't error, it just have 75% of my icons missing. |
Hello, in the opening post
is mentioned, however in the subsequent message I can see
This does not look correct This is using both css and js implementation, I would not expect both of them being load I can't see how tthe CSS only implementation can interfere with jQuery. So we should suppose it is the issue is with a self-hosted javascript file + shims? |
Moving Jquery's script load to after FA, seems to fix whatever FA is doing with $. All previous versions functioned as expected loaded jquery first. |
@robmadole I managed to easily replicate
<!DOCTYPE html>
<html lang="en">
<head>
<title>FA 20423</title>
<meta name="description" content="fa" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
<script src="assets/all.min.js"></script>
</head>
<body>
<p>
<i class="fas fa-ufo"></i>
</p>
<p>
<small>
<a href="https://github.com/FortAwesome/Font-Awesome/issues/20423">Reproducible use case for #20423</a>
</small>
</p>
</body>
</html>
Expected
Actual |
Bug description
After updating from 6.6 to 6.7 jquery breaks and a console.log($) returns fontawesome items instead of jquery.
Reproducible test case
No response
Screenshots
No response
Font Awesome version
v6.7.0
Serving
Self-hosted
Implementation
CSSJS (edit by @tagliala)Browser and Operating System
Any browser, any os.
Web bug report checklist
The text was updated successfully, but these errors were encountered: