From 93b347cad626b4fc1ac3908725206541091a7a97 Mon Sep 17 00:00:00 2001 From: Turtle <104490184+CodingTurtle2@users.noreply.github.com> Date: Tue, 30 Dec 2025 20:19:34 +0100 Subject: [PATCH] g3.5 --- student/umfrage.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/student/umfrage.html b/student/umfrage.html index 5e6deb5..26104cb 100644 --- a/student/umfrage.html +++ b/student/umfrage.html @@ -263,16 +263,16 @@ function updateContent(old_page, page) { if (page >= courseData.questions.length) { getId("container1").style.display = "none"; getId("container2").style.display = "unset"; + updateCourseAnswer(finalResult); return; } setUmfrage(page); + + getId("content").querySelector(".input").focus(); } async function onEndEvent(elm) { - elm.onclick = () => {}; - - await updateCourseAnswer(finalResult); location.href = "./uebersicht.html?user=" + userData.name; }