summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlrike Uhlig <u@451f.org>2019-10-04 11:50:53 +0200
committerUlrike Uhlig <u@451f.org>2019-10-04 11:50:53 +0200
commita04c37e4b06b387355b8c21073ef0b3fac9433a5 (patch)
treecb1b5558ffa18f8d3af4f6fd830d34611748bf54
parent58a974f2f061cded2492d0efa8b0f57c4925d0c4 (diff)
Make this more fancy.
-rw-r--r--wiki/src/donate.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/wiki/src/donate.js b/wiki/src/donate.js
index f8d12b3..8d17fea 100644
--- a/wiki/src/donate.js
+++ b/wiki/src/donate.js
@@ -124,4 +124,13 @@ document.addEventListener('DOMContentLoaded', function() {
}
}
+ // Toggle T-Shirt banner
+ hide(document.getElementById('temp-donation-details')); // hide this only if JS is enabled
+ document.getElementById("temp-donation-reward-teaser").onclick = function() {
+ show(document.getElementById('temp-donation-details'));
+ }
+ document.getElementById("temp-donation-close").onclick = function() {
+ hide(document.getElementById('temp-donation-details'));
+ }
+
});