When we're at the middle goal, drop it immediately.
This commit is contained in:
parent
fd261def3a
commit
9813a0795f
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ $(document).ready(function() {
|
|||
var incrementDonationCount = Math.round( (riseLevelPercent / 100) * noCommaDonationCount );
|
||||
$('#siteprogressbar').empty();
|
||||
|
||||
if (noCommaSiteSoFar > noCommaSiteMiddleGoal) {
|
||||
if (noCommaSiteSoFar >= noCommaSiteMiddleGoal) {
|
||||
// We've got
|
||||
var moreCount = noCommaSiteSoFar - noCommaSiteMiddleGoal;
|
||||
moreCount = moreCount.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
|
||||
|
|
Loading…
Reference in a new issue