From 87a1d722ca419b4dd0065f32a2d27a4c11081850 Mon Sep 17 00:00:00 2001 From: Paal Joergensen Date: Wed, 22 Jun 2016 09:59:23 +0200 Subject: [PATCH] Fixed empty aria-label on dots [HFJ-2038] --- js/questionset.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/questionset.js b/js/questionset.js index f8d60dd..788b447 100644 --- a/js/questionset.js +++ b/js/questionset.js @@ -40,7 +40,7 @@ H5P.QuestionSet = function (options, contentId) { ' <% if (progressType == "dots") { %>' + '
' + ' <% for (var i=0; i' + - ' ' + + ' ">' + ' <%} %>' + '
' + ' <% } else if (progressType == "textual") { %>' + @@ -140,7 +140,6 @@ H5P.QuestionSet = function (options, contentId) { for (var i = 0; i < params.questions.length; i++) { var question = params.questions[i]; - question.jumpAriaLabel = params.texts.jumpToQuestion.replace('%d', i + 1); if (override) { // Extend subcontent with the overrided settings. $.extend(question.params.behaviour, override);