From eb68ba7b91fd60dea558080d7cbaa7cfe3ca2453 Mon Sep 17 00:00:00 2001 From: Christian Fehmer Date: Mon, 14 Oct 2024 11:43:47 +0300 Subject: [PATCH] feat: show tape mode used on result screen (@fehmer) --- frontend/src/ts/test/result.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/src/ts/test/result.ts b/frontend/src/ts/test/result.ts index 5166315f9..1f34981a6 100644 --- a/frontend/src/ts/test/result.ts +++ b/frontend/src/ts/test/result.ts @@ -158,7 +158,7 @@ async function updateGraph(): Promise { borderRadius: 3, position: "start", display: true, - content: `${content}`, + content: content, }, }); } @@ -690,6 +690,9 @@ function updateTestType(randomQuote: Quote | null): void { if (Config.funbox !== "none") { testType += "
" + Config.funbox.replace(/_/g, " ").replace(/#/g, ", "); } + if (Config.tapeMode !== "off") { + testType += "
tape mode " + Config.tapeMode; + } if (Config.difficulty === "expert") { testType += "
expert"; } else if (Config.difficulty === "master") {