Changeset - 9d0627610fa6
[Not reviewed]
0 1 0
Bradley Kuhn (bkuhn) - 9 years ago 2015-03-12 01:57:06
bkuhn@ebb.org
Make rise level consistent for both items.

With this change, both numbers should go up at the same rate.
1 file changed with 3 insertions and 2 deletions:
0 comments (0 inline, 0 general)
www/conservancy/static/supporter-page.js
Show inline comments
...
 
@@ -17,3 +17,4 @@ $(document).ready(function() {
 
    var curDonationCount = 0;
 
    var incrementDonationCount = Math.round( 0.01 * donationCount );
 
    var riseLevelPercent = 0.5;
 
    var incrementDonationCount = Math.round( (riseLevelPercent / 100) * donationCount );
 

	
...
 
@@ -34,3 +35,3 @@ $(document).ready(function() {
 
            $('span#fundraiser-so-far').text(newVal.toLocaleString());
 
            curValue += 0.5;
 
            curValue += riseLevelPercent;
 
            setTimeout(riseDonationProgressBar, 50);
0 comments (0 inline, 0 general)