Fix showing progress in solution mode

pull/72/head
Oliver Tacke 2021-02-05 14:58:13 +01:00
parent 79ff4d71eb
commit 690a271ba9
1 changed files with 1 additions and 0 deletions

View File

@ -456,6 +456,7 @@ H5P.QuestionSet = function (options, contentId, contentData) {
for (var i = 0; i < questionInstances.length; i++) { for (var i = 0; i < questionInstances.length; i++) {
// Enable back and forth navigation in solution mode // Enable back and forth navigation in solution mode
toggleAnsweredDot(i, questionInstances[i].getAnswerGiven());
toggleDotsNavigation(true); toggleDotsNavigation(true);
if (i < questionInstances.length - 1) { if (i < questionInstances.length - 1) {
questionInstances[i].showButton('next'); questionInstances[i].showButton('next');