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

Unified Diff: head.html

Issue 5119431676002304: Issue 1128 - Added ADC as supporter to Manifesto page (Closed)
Patch Set: Created Aug. 13, 2014, 11:08 a.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
« body.html ('K') | « body.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: head.html
===================================================================
--- a/head.html
+++ b/head.html
@@ -219,7 +219,8 @@
margin-top: 6px;
}
-#join-org strong
+#join-org strong,
+#supporters-more-link
{
font-weight: normal;
font-size: 15px;
@@ -227,6 +228,11 @@
text-decoration: underline;
}
+#supporters-more
+{
+ margin-bottom: 20px;
+}
+
#social button
{
width: 100%;
@@ -504,6 +510,15 @@
addListener(window, "DOMContentLoaded", function(ev)
{
fetchNumberOfSignees();
+
+ var moreSupporters = document.getElementById("supporters-more-link");
+ addListener(moreSupporters, "click", function(ev)
+ {
+ var overflow = document.getElementById("supporters-overflow");
+ overflow.removeAttribute("hidden");
+ moreSupporters.parentNode.removeChild(moreSupporters);
+ ev.preventDefault();
Wladimir Palant 2014/08/13 20:44:47 Had to look up - this is only implemented starting
Thomas Greiner 2014/08/16 08:59:30 We already consider IE8 with the addListener() fun
+ }, false);
var readmore = document.getElementById("readmore");
addListener(readmore, "click", function(ev)
« body.html ('K') | « body.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld