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

index 8bb1b81c7584aa6e87474758829f00d590f75a2e..fffe386cbdccdb7a79cdeacdc66a474dd4f1da93 100644 (file)
@@ -276,7 +276,9 @@ QuizScreenOutro.prototype = {
             }
 
             if (review.type === "multiple") {
-                html += '<p class="question title-block">' + review.question !== null ? review.question : '' + '</p>';
+                if(review.question) {
+                    html += '<p class="question title-block">' + review.question + '</p>';
+                }
                 html += '<div class="multiple-wrapper">'
 
                 if(correctAnswers.length > 0) {