From 198ae5fd3e28036421249c2135f715f4e0a72db8 Mon Sep 17 00:00:00 2001 From: Thomas Marstrander Date: Sat, 26 Sep 2015 17:38:07 +0200 Subject: [PATCH] Add 'finish' button as hidden, do not show it before all questions has been answered. [HFJ-1029] --- js/questionset.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/questionset.js b/js/questionset.js index be6968c..d2a5c2f 100644 --- a/js/questionset.js +++ b/js/questionset.js @@ -384,7 +384,7 @@ H5P.QuestionSet = function (options, contentId) { // Add finish question set button question.addButton('finish', params.texts.finishButton, function () { _displayEndGame(); - }); + }, false); } else {