From 9847d7c52753c80e50da8b2121bb535ef4298c19 Mon Sep 17 00:00:00 2001 From: nono-lqdn Date: Thu, 5 Feb 2026 13:48:51 +0100 Subject: [PATCH] Activer la barre de progression --- js/progress.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/progress.js b/js/progress.js index 71e3bab..9cefb6a 100644 --- a/js/progress.js +++ b/js/progress.js @@ -4,8 +4,8 @@ const gaugeMax = 200; const fundraisingTotalMax = 20000; async function getGauge() { - // REMOVE WHEN SIGNUP FORM IS OPEN - return 0; + // // REMOVE WHEN SIGNUP FORM IS OPEN + // return 0; try { const response = await fetch(gauge_url); @@ -61,7 +61,7 @@ async function setGauge() { const gaugeRatio = gauge / gaugeMax; gaugeBar.style.setProperty("width", percentRatio(gaugeRatio) + "%"); - gaugeText.innerText = gauge + "/" + gaugeMax; + gaugeText.innerText = gauge + " / " + gaugeMax; setAboveHalf(gaugeRatio, gaugeBar); }