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 on header Created Oct. 11, 2017, 12:14 p.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
@@ -64,34 +64,11 @@
toggleClass(document.getElementById("navbar-menu"), "visible");
}
function initMenu()
{
document.getElementById("navbar-menu-toggle").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