diff --git a/www/conservancy/static/supporter-page.js b/www/conservancy/static/supporter-page.js index 907c574d..d4072562 100644 --- a/www/conservancy/static/supporter-page.js +++ b/www/conservancy/static/supporter-page.js @@ -5,7 +5,12 @@ */ $(document).ready(function() { - $("#progressbar").progressbar({ value: (0.00 / 5000.00) * 100 }); + var goal = $('span#fundraiser-goal').text(); + var soFar = $('span#fundraiser-so-far').text(); + var noCommaGoal = goal.replace(/,/g, ""); + var noCommaSoFar = soFar.replace(/,/g, ""); + + $("#progressbar").progressbar({ value: (parseFloat(noCommaSoFar) / parseFloat(noCommaGoal)) * 100 }); $('.toggle-content').hide(); diff --git a/www/conservancy/static/supporter/index.html b/www/conservancy/static/supporter/index.html index aaad27d9..0d02b0a6 100644 --- a/www/conservancy/static/supporter/index.html +++ b/www/conservancy/static/supporter/index.html @@ -18,7 +18,7 @@ -$240 of the $5,000 match goal met.
+$240 of the $5,000 match goal met.
0.05%

Help Us Reach Our Match Goal: