A case of a forgotten bracket

pull/4/head
Frode Petterson 2016-04-18 13:14:07 +02:00
parent e323c4ee3b
commit fa7b05f6fe
1 changed files with 1 additions and 1 deletions

View File

@ -475,7 +475,7 @@ H5P.QuestionSet = function (options, contentId) {
} }
// Add previous question button // Add previous question button
if (questionInstances[0] !== question) if (questionInstances[0] !== question) {
question.addButton('prev', '', moveQuestion.bind(this, -1), true, { question.addButton('prev', '', moveQuestion.bind(this, -1), true, {
href: '#', // Use href since this is a navigation button href: '#', // Use href since this is a navigation button
'aria-label': params.texts.prevButton 'aria-label': params.texts.prevButton