Skip to content
Snippets Groups Projects
Commit b9c1724c authored by khawkins98's avatar khawkins98
Browse files

Use v1.2 of fonts

parent dec8a239
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@
<!-- CSS concatenated and minified via ant build script-->
<link rel="stylesheet" href="libraries/foundation-6/css/foundation.css" type="text/css" media="all" />
<link rel="stylesheet" href="css/ebi-global.css" type="text/css" media="all" />
<link rel="stylesheet" href="https://www.ebi.ac.uk/web_guidelines/EBI-Icon-fonts/v1.3/fonts.css" type="text/css" media="all" />
<link rel="stylesheet" href="https://www.ebi.ac.uk/web_guidelines/EBI-Icon-fonts/v1.2/fonts.css" type="text/css" media="all" />
<!-- Use this CSS file for any custom styling -->
<!--
......
......@@ -76,7 +76,7 @@ function injectEBIFramework() {
var requireStyles = ['//www.ebi.ac.uk/web_guidelines/EBI-Framework/v1.3/css/theme-embl-petrol.css',
'//www.ebi.ac.uk/web_guidelines/EBI-Framework/v1.3/css/ebi-global.css',
'//www.ebi.ac.uk/web_guidelines/EBI-Framework/v1.3/libraries/foundation-6/css/foundation.css',
'//www.ebi.ac.uk/web_guidelines/EBI-Icon-fonts/v1.3/fonts.css'];
'//www.ebi.ac.uk/web_guidelines/EBI-Icon-fonts/v1.2/fonts.css'];
function init() {
try {
......
......@@ -338,7 +338,13 @@ function ebiFrameworkInvokeScripts() {
ebiFrameworkCookieBanner();
}
// init
/* All scripts are automatically loaded, unless the page asked us not to.
* Configurable with a data attribute:
* <body data-ebiFrameworkInvokeScripts="false">
**/
document.addEventListener("DOMContentLoaded", function(event) {
ebiFrameworkInvokeScripts();
var bodyData = document.body.dataset;
if (bodyData.ebiFrameworkInvokeScripts != false) {
ebiFrameworkInvokeScripts();
}
});
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment