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 -