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

index dd0d6643e35f0fb078b5194fca973cd4ad8090bb..4c4bddb0c78b8e825cd6761609cfa3f027d2d04d 100644 (file)
@@ -269,7 +269,7 @@ 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 !== 'null' ? review.question : '' + '</p>';
+                html += '<p class="question title-block">' + review.question != null || review.question !== '' ? review.question : '' + '</p>';
                 html += '<p>'+answersUser[i]+'</p>'
             }