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

Unified Diff: static/js/index.js

Issue 29565748: Issue 5834 - Removed learn more section from the adblockplus.org homepage (Closed) Base URL: https://bitbucket.org/adblockplus/adblockplus.org
Patch Set: Created Oct. 5, 2017, 3:50 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
« static/css/index-desktop.css ('K') | « static/css/index-desktop.css ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: static/js/index.js
===================================================================
deleted file mode 100644
--- a/static/js/index.js
+++ /dev/null
@@ -1,28 +0,0 @@
-(function()
-{
- var visibleTab;
- var container = document.getElementById("more-container");
-
- window.toggleMore = function()
- {
- if (container.className == "hidden")
- container.className = visibleTab || getDefaultTab();
- else
- container.className = "hidden";
- }
-
- window.showTab = function(button)
- {
- var id = button.id.substr(5);
- container.className = id;
- visibleTab = id;
- }
-
- function getDefaultTab()
- {
- var content = document.getElementById("content");
- var ua = content.className.match(/ua\-([^\s]+)/);
- visibleTab = ua && ua[1] || "firefox";
- return visibleTab;
- }
-})();
« static/css/index-desktop.css ('K') | « static/css/index-desktop.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld