Changeset - 52bcf1152af8
[Not reviewed]
0 1 0
Brett Smith (brett) - 4 years ago 2016-11-29 18:29:12
brett@sfconservancy.org
js: Set default noCommaSiteMiddleGoal.
1 file changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general)
www/conservancy/static/js/supporter-page.js
Show inline comments
...
 
@@ -23,6 +23,9 @@ $(document).ready(function() {
 
    var noCommaSiteFinalGoal = parseInt(siteFinalGoal.replace(/,/g, ""));
 
    var siteMiddleGoal = $('span#site-fundraiser-middle-goal').text();
 
    var noCommaSiteMiddleGoal = parseInt(siteMiddleGoal.replace(/,/g, ""));
 
    if (!noCommaSiteMiddleGoal) {
 
        noCommaSiteMiddleGoal = 0;
 
    }
 
    var siteSoFar = $('span#site-fundraiser-so-far').text();
 
    var noCommaSiteSoFar = parseInt(siteSoFar.replace(/,/g, ""));
 
    var siteMatchCount = $('span#site-fundraiser-match-count').text();
0 comments (0 inline, 0 general)