Correct initialization and counter.

This commit is contained in:
Bradley M. Kuhn 2015-03-11 18:42:40 -07:00
parent 1eddf3fd09
commit 7ea7e8ef60

View file

@ -41,11 +41,12 @@ $(document).ready(function() {
$('span#fundraiser-donation-count').text(donationCount);
} else {
$('span#fundraiser-donation-count').text(curDonationCount.toLocaleString());
incrementDonationCount += incrementDonationCount;
curDonationCount += incrementDonationCount;
setTimeout(riseDonationCount, 50);
}
}
if (noCommaDonationCount > 0) {
$('span#fundraiser-donation-count').text("");
riseDonationCount();
}
if (noCommaSoFar > 0.00 && noCommaGoal > 0.00) {