Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: static/js/main.js

Issue 29558641: Issue 5740 - Implemented new abp.org footer styles (Closed) Base URL: https://bitbucket.org/adblockplus/adblockplus.org
Patch Set: Rebased away learn more and grid Created Oct. 6, 2017, 11:47 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
})();

Powered by Google App Engine
This is Rietveld