From c36e31ebf4d8db49f4a21e13ed6cd68ecd881f6f Mon Sep 17 00:00:00 2001 From: Frode Petterson Date: Fri, 8 Apr 2016 16:06:36 +0200 Subject: [PATCH] Hooked up the texts for next/prev buttons HFJ-1749 --- js/questionset.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/questionset.js b/js/questionset.js index abcfa39..c083213 100644 --- a/js/questionset.js +++ b/js/questionset.js @@ -444,7 +444,7 @@ H5P.QuestionSet = function (options, contentId) { _showQuestion(currentQuestion + 1); }, true, { 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); }, true, { href: '#', // Use href since this is a navigation button - 'aria-label': 'Previous Question' // TODO: Translate + 'aria-label': params.texts.prevButton }); }