Fix math error.
This commit is contained in:
parent
99ff4771a1
commit
e260280ee1
1 changed files with 1 additions and 2 deletions
|
@ -33,8 +33,7 @@ $(document).ready(function() {
|
||||||
|
|
||||||
if (noCommaSiteSoFar >= noCommaSiteMiddleGoal) {
|
if (noCommaSiteSoFar >= noCommaSiteMiddleGoal) {
|
||||||
// We've got
|
// We've got
|
||||||
var moreCount = noCommaSiteSoFar - noCommaSiteMiddleGoal;
|
var leftOver = noCommaMatchFinalGoal - noCommaSiteSoFar;
|
||||||
var leftOver = noCommaMatchFinalGoal - (moreCount + 750 + noCommaSiteMatchCount);
|
|
||||||
|
|
||||||
moreCount = moreCount.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
|
moreCount = moreCount.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
|
||||||
$('#siteprogressbar').
|
$('#siteprogressbar').
|
||||||
|
|
Loading…
Reference in a new issue