Index: head.html |
=================================================================== |
--- a/head.html |
+++ b/head.html |
@@ -219,8 +219,7 @@ |
margin-top: 6px; |
} |
-#join-org strong, |
-#supporters-overflow a |
+#join-org strong |
{ |
font-weight: normal; |
font-size: 15px; |
@@ -228,46 +227,6 @@ |
text-decoration: underline; |
} |
-#supporters-overflow |
-{ |
- margin-bottom: 20px; |
-} |
- |
-#supporters-overflow .sprite |
-{ |
- display: inline-block; |
- width: 9px; |
- height: 5px; |
- vertical-align: middle; |
- background-image: url(/images/manifesto/icon-arrow.png?a=show); |
- background-position: 0px -6px; |
-} |
- |
-#supporters-overflow.collapsed .sprite |
-{ |
- background-position: 0px 0px; |
-} |
- |
-#supporters-overflow .supporter |
-{ |
- width: auto; |
- font-size: 20px; |
- margin: 10px 10px 10px 0px; |
-} |
- |
-#supporters-overflow.collapsed #supporters-overflow-less, |
-#supporters-overflow #supporters-overflow-more, |
-#supporters-overflow.collapsed .supporter |
-{ |
- display: none; |
-} |
- |
-#supporters-overflow.collapsed #supporters-overflow-more, |
-#supporters-overflow #supporters-overflow-less |
-{ |
- display: inline; |
-} |
- |
#social button |
{ |
width: 100%; |
@@ -546,11 +505,6 @@ |
{ |
fetchNumberOfSignees(); |
- var showSupporters = document.getElementById("supporters-overflow-more"); |
- var hideSupporters = document.getElementById("supporters-overflow-less"); |
- addListener(showSupporters, "click", toggleSupporters, false); |
- addListener(hideSupporters, "click", toggleSupporters, false); |
- |
var readmore = document.getElementById("readmore"); |
addListener(readmore, "click", function(ev) |
{ |
@@ -578,20 +532,6 @@ |
+ "&url=http%3A%2F%2Facceptableads.org%2F"; |
}, false); |
-function toggleSupporters(ev) |
-{ |
- var supportersOverflow = document.getElementById("supporters-overflow"); |
- var classes = supportersOverflow.className.split(" "); |
- if (classes.indexOf("collapsed") > -1) |
- classes.splice(classes.indexOf("collapsed"), 1); |
- else |
- classes.push("collapsed"); |
- supportersOverflow.className = classes.join(" "); |
- |
- ev.preventDefault(); |
- ev.stopPropagation(); |
-} |
- |
function checkCollapse() |
{ |
if (document.documentElement.offsetWidth < 500) |