]> _ Git - fluidbook-toolbox-quiz.git/commitdiff
wip #6641
authorsoufiane <soufiane@cubedesigners.com>
Mon, 6 May 2024 15:48:00 +0000 (17:48 +0200)
committersoufiane <soufiane@cubedesigners.com>
Mon, 6 May 2024 15:48:00 +0000 (17:48 +0200)
js/quiz.screen.outro.js

index 9e37f71d428344d9d00298cacc490b58416ebb96..77f3aed795f40b459026f24c8a2ec6c70e5c0041 100644 (file)
@@ -296,7 +296,7 @@ QuizScreenOutro.prototype = {
 
             if (review.type === "draganddrop") {
                 nokClass = ""
-                html += '<p class="title-block">' + review.question + '</p>';
+                html += '<p class="title-block">' + review.question ? 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>'