aboutsummaryrefslogtreecommitdiffstats
path: root/g
diff options
context:
space:
mode:
Diffstat (limited to 'g')
-rw-r--r--g/js/treasurer.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/g/js/treasurer.js b/g/js/treasurer.js
index 615b0c1ef..13654ce2a 100644
--- a/g/js/treasurer.js
+++ b/g/js/treasurer.js
@@ -425,3 +425,10 @@ function thankyou_page() {
document.getElementById("last_update").innerHTML=data.last_update;
});
}
+
+function donate_page() {
+ $.getJSON(treasurer_infos_url, function(data) {
+ document.getElementById("donations_total").innerHTML=data.donations_total;
+ document.getElementById("balance").innerHTML=data.balance;
+ });
+}