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) { | ||||
|         // We've got
 | ||||
|         var moreCount = noCommaSiteSoFar - noCommaSiteMiddleGoal; | ||||
|         var leftOver = noCommaMatchFinalGoal - (moreCount + 750 + noCommaSiteMatchCount); | ||||
|         var leftOver = noCommaMatchFinalGoal - noCommaSiteSoFar; | ||||
| 
 | ||||
|         moreCount =  moreCount.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ","); | ||||
|         $('#siteprogressbar'). | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Bradley M. Kuhn
						Bradley M. Kuhn