Correct initialization and counter.
This commit is contained in:
parent
1eddf3fd09
commit
7ea7e8ef60
1 changed files with 2 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue