From 8d1fc327f9900dbecbb8d61534ce9309022a068d Mon Sep 17 00:00:00 2001 From: soufiane Date: Thu, 23 May 2024 10:53:15 +0200 Subject: [PATCH] wait #6927 --- js/quiz.screens.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/quiz.screens.js b/js/quiz.screens.js index 40b8413..0f65edc 100644 --- a/js/quiz.screens.js +++ b/js/quiz.screens.js @@ -358,8 +358,10 @@ QuizScreens.prototype = { updateTabindexToQuestionMultiple: function() { if(this.getActiveScreenType() === "multiple") { $(".list-item").removeAttr("tabindex") + let counter = 0; this.activeScreen.find(".list-item").each(function(index) { - $(this).attr('tabindex', index++) + counter++ + $(this).attr('tabindex', counter) }) } } -- 2.39.5