Fix defaults (again)

This commit is contained in:
Conor 2022-06-22 01:54:46 +01:00
parent f8de35c51d
commit 2569de0025
Signed by: CADawg
GPG Key ID: A28C6F51829932B9
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ function getPercent(site) {
// get vote percentage // get vote percentage
let percent = counts[0] / (counts[0]+counts[1]); let percent = counts[0] / (counts[0]+counts[1]);
if (isNaN(percent)) percent = 50; if (isNaN(percent)) percent = 0.5;
percent = Math.floor(percent * 100); percent = Math.floor(percent * 100);