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; |
- } |
-})(); |