From 282168fa4a44a2dc2ba1f614258c8392926b98bd Mon Sep 17 00:00:00 2001 From: nkumar2 Date: Tue, 28 May 2024 11:40:55 +0100 Subject: [PATCH] update file and function name for footer section --- Gruntfile.js | 2 +- src/index.html | 2 +- src/js/footer/{foot.js => footer.js} | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) rename src/js/footer/{foot.js => footer.js} (98%) diff --git a/Gruntfile.js b/Gruntfile.js index 3dd2091f..e3b0315f 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -221,6 +221,7 @@ module.exports = function (grunt) { 'src/js/beacon-form/eva-variant-search-form.js', 'src/js/dbSNP-import/dbSNP-import-progress.js', 'src/js/rs-release/rs-release.js', + 'src/js/footer.js', 'src/js/eva.js', 'src/js/eva-google-analytics.js ' ], @@ -249,7 +250,6 @@ module.exports = function (grunt) { ebi_framework_js: { src: [ 'lib/EBI-Framework/js/cookiebanner.js', - 'lib/EBI-Framework/js/foot.js', 'lib/EBI-Framework/js/script.js', 'lib/EBI-Framework/libraries/foundation-6/js/foundation.js', 'lib/EBI-Framework/js/foundationExtendEBI.js', diff --git a/src/index.html b/src/index.html index 4d218fd2..cf1bfee5 100644 --- a/src/index.html +++ b/src/index.html @@ -1341,7 +1341,7 @@
Reporting
- + diff --git a/src/js/footer/foot.js b/src/js/footer/footer.js similarity index 98% rename from src/js/footer/foot.js rename to src/js/footer/footer.js index e5036c19..1034759f 100644 --- a/src/js/footer/foot.js +++ b/src/js/footer/footer.js @@ -6,7 +6,7 @@ * This is a workaround for adding couple of links in the footer (Services section) which are not present in EBI-Framework V1.1 * When updating the website, make sure to remove this and use the footer code provided by the EBI-Framework */ -(function updateFoot() { +(function updateEVAFoot() { var html = '' + '
' + ' ' + ' ' + '
' + ' ' + '
' + '
Services
' + ' ' + '
' + ' ' + '
' + '
Research
' + ' ' + '
' + ' ' + '
' + '
Training
' + ' ' + '
' + ' ' + '
' + '
Industry
' + ' ' + '
' + ' ' + '
' + '
About EMBL-EBI
' + '