mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-04 21:09:18 +08:00
fixed legacy pbs causing issues
This commit is contained in:
parent
71fcef7e04
commit
05c639117b
1 changed files with 6 additions and 4 deletions
|
@ -33,15 +33,17 @@ function update(mode) {
|
|||
<td>
|
||||
${pb.wpm}
|
||||
<br />
|
||||
<span class="sub">${pb.acc}%</span>
|
||||
<span class="sub">${pb.acc ? pb.acc + "%" : "-"}</span>
|
||||
</td>
|
||||
<td>
|
||||
${pb.raw}
|
||||
${pb.raw ? pb.raw : "-"}
|
||||
<br />
|
||||
<span class="sub">${pb.consistency}%</span>
|
||||
<span class="sub">${
|
||||
pb.consistency ? pb.consistency + "%" : "-"
|
||||
}</span>
|
||||
</td>
|
||||
<td>${pb.difficulty}</td>
|
||||
<td>${pb.language.replace(/_/g, " ")}</td>
|
||||
<td>${pb.language ? pb.language.replace(/_/g, " ") : "-"}</td>
|
||||
<td>${pb.punctuation ? '<i class="fas fa-check"></i>' : ""}</td>
|
||||
<td>${pb.lazyMode ? '<i class="fas fa-check"></i>' : ""}</td>
|
||||
<td>${moment(pb.timestamp).format(
|
||||
|
|
Loading…
Reference in a new issue