From 93a5efd6e8f52e87fcc3f8ac7445627fca66ba6a Mon Sep 17 00:00:00 2001 From: Frode Petterson Date: Fri, 8 Apr 2016 15:58:38 +0200 Subject: [PATCH] Fixed aria-label for progress dots HFJ-1750 --- js/questionset.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/questionset.js b/js/questionset.js index b7e4673..abcfa39 100644 --- a/js/questionset.js +++ b/js/questionset.js @@ -130,7 +130,7 @@ H5P.QuestionSet = function (options, contentId) { for (var i = 0; i < params.questions.length; i++) { var question = params.questions[i]; - question.jumpAriaLabel = params.text.jumpToQuestion.replace(':num', i + 1); + question.jumpAriaLabel = params.texts.jumpToQuestion.replace('%d', i + 1); if (override) { // Extend subcontent with the overrided settings. $.extend(question.params.behaviour, override);