Improved stability

This commit is contained in:
Verena Schulz
2025-12-15 13:48:27 +01:00
parent bb589e6aad
commit accb65252c
3 changed files with 6 additions and 2 deletions
+4
View File
@@ -279,6 +279,10 @@ let currentStep = 1;
const totalSteps = steps.length;
function showStep(stepNumber) {
if (stepNumber < 1 || stepNumber > totalSteps){
console.error("StepNumber out of Bounds", stepNumber);
return;
}
steps.forEach(step => step.style.display = "none");
document.getElementById("step" + stepNumber).style.display = "block";