From fca2df1798a502963603bfd2a2bd6a91e00910e6 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 27 Sep 2023 08:10:57 +0200 Subject: [PATCH] wip #6300 @0.25 --- js/quiz.l10n.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5