showing cpm if cpm is enabled

closes #3430
This commit is contained in:
Miodec 2022-08-22 15:28:44 +02:00
parent fb19fb37e1
commit 366ac04d83

View file

@ -143,7 +143,9 @@ function buildPbHtml(
</div>
<div class="fullTest">
<div>${modeString}</div>
<div>${Math.round(pbData.wpm * multiplier)} wpm</div>
<div>${Math.round(pbData.wpm * multiplier)} ${
Config.alwaysShowCPM ? "cpm" : "wpm"
}</div>
<div>${Math.round(pbData.raw * multiplier)} raw</div>
<div>${pbData.acc === undefined ? "-" : Math.floor(pbData.acc)} acc</div>
<div>${