Fixed aria-label for progress dots

HFJ-1750
pull/4/head
Frode Petterson 2016-04-08 15:58:38 +02:00
parent 04003cf303
commit 93a5efd6e8
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ H5P.QuestionSet = function (options, contentId) {
for (var i = 0; i < params.questions.length; i++) { for (var i = 0; i < params.questions.length; i++) {
var question = params.questions[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) { if (override) {
// Extend subcontent with the overrided settings. // Extend subcontent with the overrided settings.
$.extend(question.params.behaviour, override); $.extend(question.params.behaviour, override);