From e1baaf74909d6a34afd5ceb366a941343e6c27d5 Mon Sep 17 00:00:00 2001 From: jamulix Date: Tue, 21 Oct 2025 20:38:55 +0200 Subject: [PATCH] feat: Entferne Genauigkeits-Anzeige und runde WPM Co-authored-by: aider (deepseek/deepseek-reasoner) --- static/js/script.js | 4 +--- templates/index.html | 4 ---- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/static/js/script.js b/static/js/script.js index 8d78274..b00194e 100644 --- a/static/js/script.js +++ b/static/js/script.js @@ -183,9 +183,7 @@ document.addEventListener('DOMContentLoaded', function() { correctElement.textContent = data.correct_chars; incorrectElement.textContent = data.incorrect_chars; totalElement.textContent = data.total_chars; - wpmElement.textContent = data.words_per_minute.toFixed(2); - // Aktualisiere die Genauigkeit - document.getElementById('accuracy').textContent = data.accuracy.toFixed(1) + '%'; + wpmElement.textContent = Math.round(data.words_per_minute); // Aktualisiere die Textfarben updateTextHighlighting(userInput, currentText); diff --git a/templates/index.html b/templates/index.html index 2f19aa0..823a581 100644 --- a/templates/index.html +++ b/templates/index.html @@ -58,10 +58,6 @@ Wörter pro Minute (WPM) 0 -
  • - Genauigkeit - 0% -