This is the repository for the Swedish Reference Genome Portal, a service facilitating access and discovery of genome data of non-model eukaryotic species studied in Sweden
Before this PR, jQuery was added as a dependency for all pages and used in some pages as part of some JS scripts throughout the website. I've now removed it to only be used when the Datatables library is loaded (jquery is a dependency) and replaced the other instances with vanilla JS. This therefore helps to improve the sites' load speed by not having to load jquery from a CDN.
I've also taken the opportunity to move all downloads of scripts/style sheets to one place, head.html, so it is easier to keep track of. Finally I've added some preconnects too to help with the site's loading speeds.
Before this PR, jQuery was added as a dependency for all pages and used in some pages as part of some JS scripts throughout the website. I've now removed it to only be used when the Datatables library is loaded (jquery is a dependency) and replaced the other instances with vanilla JS. This therefore helps to improve the sites' load speed by not having to load jquery from a CDN.
I've also taken the opportunity to move all downloads of scripts/style sheets to one place,
head.html
, so it is easier to keep track of. Finally I've added some preconnects too to help with the site's loading speeds.