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: Addressed comments Created Oct. 11, 2017, 1:11 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
« no previous file with comments | « static/img/footer-youtube-glyphicon.png ('k') | templates/default.tmpl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
})();
« no previous file with comments | « static/img/footer-youtube-glyphicon.png ('k') | templates/default.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld