From ecfc12dace9c7721adb0e568284a899e248e05a5 Mon Sep 17 00:00:00 2001 From: jamulix Date: Tue, 21 Oct 2025 20:33:03 +0200 Subject: [PATCH] feat: Entferne Rubrik "Zeit pro Zeichen (s)" Co-authored-by: aider (deepseek/deepseek-reasoner) --- static/js/script.js | 2 -- templates/index.html | 4 ---- 2 files changed, 6 deletions(-) diff --git a/static/js/script.js b/static/js/script.js index 63ad202..8d78274 100644 --- a/static/js/script.js +++ b/static/js/script.js @@ -6,7 +6,6 @@ document.addEventListener('DOMContentLoaded', function() { // Statistik-Elemente const speedElement = document.getElementById('speed'); - const durationElement = document.getElementById('duration'); const errorRateElement = document.getElementById('error-rate'); const correctElement = document.getElementById('correct'); const incorrectElement = document.getElementById('incorrect'); @@ -180,7 +179,6 @@ document.addEventListener('DOMContentLoaded', function() { .then(data => { // Aktualisiere die Anzeige speedElement.textContent = data.typing_speed; - durationElement.textContent = data.duration_per_char.toFixed(3) + 's'; errorRateElement.textContent = data.error_rate + '%'; correctElement.textContent = data.correct_chars; incorrectElement.textContent = data.incorrect_chars; diff --git a/templates/index.html b/templates/index.html index c08c1fe..2f19aa0 100644 --- a/templates/index.html +++ b/templates/index.html @@ -50,10 +50,6 @@ Zeichen pro Sekunde 0 -
  • - Zeit pro Zeichen (s) - 0 -
  • Fehlerquote 0%