diff --git a/src/scripts/app.js b/src/scripts/app.js index e0f8a79..fe56293 100644 --- a/src/scripts/app.js +++ b/src/scripts/app.js @@ -708,7 +708,7 @@ export default class InteractiveBook extends H5P.EventDispatcher { section.taskDone = sectionInstance.getAnswerGiven ? sectionInstance.getAnswerGiven() : true; this.sideBar.setSectionMarker(chapterId, index); - if (section.taskDone) { + if (section.isTask && section.taskDone) { this.chapters[chapterId].tasksLeft -= 1; } this.updateChapterProgress(chapterId);