]> _ Git - fluidbook-toolbox-quiz.git/commitdiff
wait #6927
authorsoufiane <soufiane@cubedesigners.com>
Thu, 23 May 2024 12:59:44 +0000 (14:59 +0200)
committersoufiane <soufiane@cubedesigners.com>
Thu, 23 May 2024 12:59:44 +0000 (14:59 +0200)
js/quiz.screen.outro.js

index 4c4bddb0c78b8e825cd6761609cfa3f027d2d04d..8bb1b81c7584aa6e87474758829f00d590f75a2e 100644 (file)
@@ -269,7 +269,9 @@ QuizScreenOutro.prototype = {
             html += '<p class="position title-section">' + this.quiz.l10n.__('Question :index', {index: i + 1}) + titleType + '</p>';
 
             if (review.type === "text" || review.type === "email" || review.type === "textarea" || review.type === "country") {
-                html += '<p class="question title-block">' + review.question != null || review.question !== '' ? review.question : '' + '</p>';
+                if(review.question) {
+                    html += '<p class="question title-block">' + review.question != null || review.question !== '' ? review.question : '' + '</p>';
+                }
                 html += '<p>'+answersUser[i]+'</p>'
             }