]> _ Git - fluidbook-toolbox-quiz.git/commitdiff
wait #6691 @0:30
authorsoufiane <soufiane@cubedesigners.com>
Mon, 29 Jan 2024 16:57:09 +0000 (17:57 +0100)
committersoufiane <soufiane@cubedesigners.com>
Mon, 29 Jan 2024 16:57:09 +0000 (17:57 +0100)
js/quiz.screen.outro.js

index 215b006abcc61372946ded3e80a2b32af9a6fc21..67caa589b1de908f298ea61bab43d2a51b4c37ce 100644 (file)
@@ -295,6 +295,7 @@ QuizScreenOutro.prototype = {
 
             if (review.type === "draganddrop") {
                 nokClass = ""
+                html += '<p class="title-block">' + review.question + '</p>';
                 if(answersUser[i].length === correctAnswers.length) {
                     html += '<div class="area-title">'
                     html += '<p class="title-block">' + review.data.area_1.title + '</p><p class="title-block">' + review.data.area_2.title + '</p>'
@@ -328,6 +329,7 @@ QuizScreenOutro.prototype = {
 
             if (review.type === "match") {
                 html += '<div class="match-container">'
+                html += '<p class="title-block">' + review.question + '</p>';
                 if(answersUser[i].length === correctAnswers.length) {
                     html += '<div class="match-title">'
                     html += '<p class="title-block">' + this.quiz.l10n.__('Question') + '</p><p class="title-block">' + this.quiz.l10n.__('Answers') + '</p>'