From: Vincent Vanwaelscappel Date: Wed, 27 Sep 2023 06:10:57 +0000 (+0200) Subject: wip #6300 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=fca2df1798a502963603bfd2a2bd6a91e00910e6;p=fluidbook-toolbox-quiz.git wip #6300 @0.25 --- diff --git a/js/quiz.l10n.js b/js/quiz.l10n.js index c56b7b4..19d4be6 100644 --- a/js/quiz.l10n.js +++ b/js/quiz.l10n.js @@ -6,7 +6,7 @@ function QuizL10n(quiz) { QuizL10n.prototype = { __: function (str) { - if (this.quiz.data.l10n[str] !== undefined) { + if (this.quiz.data.l10n[str] !== undefined && this.quiz.data.l10n[str] != null) { return this.quiz.data.l10n[str]; } return str;