Skip to content

Commit

Permalink
HFP-3907 Fix toggle dot answered state for last question
Browse files Browse the repository at this point in the history
  • Loading branch information
Languafe committed Aug 22, 2024
1 parent 63499df commit 3c5e702
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/questionset.js
Original file line number Diff line number Diff line change
Expand Up @@ -641,6 +641,8 @@ H5P.QuestionSet = function (options, contentId, contentData) {
}

if (currentQuestion + direction >= questionInstances.length) {
toggleCurrentDot(currentQuestion, false);
toggleAnsweredDot(currentQuestion, questionInstances[currentQuestion].getAnswerGiven());
_displayEndGame();
}
else {
Expand Down

0 comments on commit 3c5e702

Please sign in to comment.