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

index 29581b787c3956971ee01e844a8dab8661149bfc..91842b807afb8eeda474b6aac43d26fd665dc94d 100644 (file)
@@ -269,12 +269,12 @@ 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 ? review.question : '' + '</p>';
+                html += '<p class="question title-block">' + review.question != null ? review.question : '' + '</p>';
                 html += '<p>'+answersUser[i]+'</p>'
             }
 
             if (review.type === "multiple") {
-                html += '<p class="question title-block">' + review.question ? review.question : '' + '</p>';
+                html += '<p class="question title-block">' + review.question !== null ? review.question : '' + '</p>';
                 html += '<div class="multiple-wrapper">'
 
                 if(correctAnswers.length > 0) {