]> _ Git - fluidbook-toolbox-quiz.git/commitdiff
wait #6656 @0:10
authorsoufiane <soufiane@cubedesigners.com>
Tue, 23 Jan 2024 11:38:37 +0000 (12:38 +0100)
committersoufiane <soufiane@cubedesigners.com>
Tue, 23 Jan 2024 11:38:37 +0000 (12:38 +0100)
js/quiz.screen.outro.js

index 4e56a6462a21f4ab28a66b343e759c0a1c6615ae..2cfea24f6b92986c7144b2f0e909b554a185899f 100644 (file)
@@ -242,7 +242,11 @@ QuizScreenOutro.prototype = {
                     if(c['type'] === "match" && !quiz.score.isPassed() && c['answers'][answersUser[i][k_]] > 0) {
                         c_['proposition'] = c['answers'][answersUser[i][k_]]['proposition']
                     }
-                    c_['status'] = status[i].answers[k_]
+                    if(c['type'] === "multiple") {
+                        c_['status'] = status[i].answers[answersUser[i][k_]]
+                    } else {
+                        c_['status'] = status[i].answers[k_]
+                    }
                     return c_
                 }),
                 'status': status[i].ok,