diff --git a/course/format/amd/src/local/content.js b/course/format/amd/src/local/content.js index 55a7992fc37..eb0f5e284ec 100644 --- a/course/format/amd/src/local/content.js +++ b/course/format/amd/src/local/content.js @@ -235,6 +235,8 @@ export default class Component extends BaseComponent { {watch: `transaction:start`, handler: this._startProcessing}, {watch: `course.sectionlist:updated`, handler: this._refreshCourseSectionlist}, {watch: `section.cmlist:updated`, handler: this._refreshSectionCmlist}, + // Section visibility. + {watch: `section.visible:updated`, handler: this._reloadSection}, // Reindex sections and cms. {watch: `state:updated`, handler: this._indexContents}, ];