From 1411857a6370d93612484a3d19489bcbef1d62d5 Mon Sep 17 00:00:00 2001 From: cfgexe <65036495+cfgexe@users.noreply.github.com> Date: Sun, 7 May 2023 20:34:15 +1000 Subject: [PATCH 1/2] Add commas to pp on profile. --- templates/profile.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/profile.html b/templates/profile.html index 669ced2f..196f8c00 100644 --- a/templates/profile.html +++ b/templates/profile.html @@ -47,7 +47,7 @@
- <% map.pp.toFixed() %>pp + <% addCommas(map.pp.toFixed()) %>pp
accuracy:  <% map.acc.toFixed(2) %>% From d83622c474db1e13cfe7fe13f9fe877490f39e9a Mon Sep 17 00:00:00 2001 From: cfgexe <65036495+cfgexe@users.noreply.github.com> Date: Sun, 7 May 2023 20:35:31 +1000 Subject: [PATCH 2/2] Add commas to pp/rscore on leaderboard. --- templates/leaderboard.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/leaderboard.html b/templates/leaderboard.html index 43967d19..a6e414d2 100644 --- a/templates/leaderboard.html +++ b/templates/leaderboard.html @@ -94,8 +94,8 @@ - <% (sort=='pp' ? user.pp+'pp' : "" ) %> - <% (sort=='rscore' ? scoreFormat(user.rscore) : "" ) %> + <% addCommas((sort=='pp' ? user.pp+'pp' : "" )) %> + <% addCommas((sort=='rscore' ? scoreFormat(user.rscore) : "" )) %> <% user.acc.toFixed(2) %>%