Index: static/js/main.js |
=================================================================== |
--- a/static/js/main.js |
+++ b/static/js/main.js |
@@ -92,34 +92,11 @@ |
} |
function initMenu() |
{ |
if ("querySelector" in document) |
document.querySelector("header nav").onclick = navigationClick; |
} |
- function initFooterSection(section) |
- { |
- var header = section.getElementsByTagName("h1")[0]; |
- header.onclick = function() |
- { |
- toggleClass(section, "visible"); |
- }; |
- } |
- |
- function initFooter() |
- { |
- var footerContent = document.getElementById("footer-content"); |
- var footerNav = footerContent.getElementsByTagName("nav")[0]; |
- var footerNavSections = footerNav.getElementsByTagName("section"); |
- |
- for (var i = 0; i < footerNavSections.length; i++) |
- { |
- var section = footerNavSections[i]; |
- initFooterSection(section); |
- } |
- } |
- |
initLanguageSelection(); |
initMenu(); |
- initFooter(); |
})(); |