Changeset - e260280ee14c
[Not reviewed]
0 1 0
Bradley Kuhn (bkuhn) - 6 years ago 2016-02-24 03:45:16
bkuhn@ebb.org
Fix math error.
1 file changed with 1 insertions and 2 deletions:
0 comments (0 inline, 0 general)
www/conservancy/static/js/supporter-page.js
Show inline comments
...
 
@@ -33,8 +33,7 @@ $(document).ready(function() {
 

	
 
    if (noCommaSiteSoFar >= noCommaSiteMiddleGoal) {
 
        // We've got
 
        var moreCount = noCommaSiteSoFar - noCommaSiteMiddleGoal;
 
        var leftOver = noCommaMatchFinalGoal - (moreCount + 750 + noCommaSiteMatchCount);
 
        var leftOver = noCommaMatchFinalGoal - noCommaSiteSoFar;
 

	
 
        moreCount =  moreCount.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
 
        $('#siteprogressbar').
0 comments (0 inline, 0 general)