Closed napulen closed 3 years ago
Related to this, because of the mixed content issue, jquery doesn't load sometimes and you get these errors in some pages:
The $ not defined
it is complaining about is basically the jquery syntax not being recognized (because it wasn't loaded).
OK, thank you for this! I will go through and fix it.
I think this is resolved. Here is the site with the console viewer now:
There are some mixed content errors in the site when importing jquery
This is because sometimes the link to jquery is via
http
instead ofhttps
. For example, here:https://github.com/DDMAL/linkedmusic-website/blob/ec99ab46f5dcaa216a65f5d08247866ee9e6dc6b/_layouts/page_photo_header.html#L15
The site is configured to enforce
https
, so we should usehttps
in everything, unless it's not possible (e.g., the site doesn't have a valid https certificate).For this particular error, it's just string replacing all those
http
->https