Hooked up the texts for next/prev buttons

HFJ-1749
pull/4/head
Frode Petterson 2016-04-08 16:06:36 +02:00
parent 6537378091
commit c36e31ebf4
1 changed files with 2 additions and 2 deletions

View File

@ -444,7 +444,7 @@ H5P.QuestionSet = function (options, contentId) {
_showQuestion(currentQuestion + 1); _showQuestion(currentQuestion + 1);
}, true, { }, true, {
href: '#', // Use href since this is a navigation button href: '#', // Use href since this is a navigation button
'aria-label': 'Next Question' // TODO: Translate 'aria-label': params.texts.nextButton
}); });
} }
@ -455,7 +455,7 @@ H5P.QuestionSet = function (options, contentId) {
_showQuestion(currentQuestion - 1); _showQuestion(currentQuestion - 1);
}, true, { }, true, {
href: '#', // Use href since this is a navigation button href: '#', // Use href since this is a navigation button
'aria-label': 'Previous Question' // TODO: Translate 'aria-label': params.texts.prevButton
}); });
} }