Merge branches 'master' and 'release' of github.com:h5p/h5p-question-set

pull/5/head
Thomas Marstrander 2016-06-23 12:46:24 +02:00
commit c9fed3ddf1
1 changed files with 1 additions and 2 deletions

View File

@ -40,7 +40,7 @@ H5P.QuestionSet = function (options, contentId) {
' <% if (progressType == "dots") { %>' +
' <div class="dots-container">' +
' <% for (var i=0; i<questions.length; i++) { %>' +
' <a href="#" class="progress-dot unanswered" aria-label="<%= questions[i].jumpAriaLabel %>"></a>' +
' <a href="#" class="progress-dot unanswered" aria-label="<%= texts.jumpToQuestion.replace("%d", i + 1) %>"></a>' +
' <%} %>' +
' </div>' +
' <% } 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);