diff --git a/src/core/course/components/format/format.ts b/src/core/course/components/format/format.ts index a47d48eee..0252248f5 100644 --- a/src/core/course/components/format/format.ts +++ b/src/core/course/components/format/format.ts @@ -297,6 +297,8 @@ export class CoreCourseFormatComponent implements OnInit, OnChanges, OnDestroy { setTimeout(() => { this.domUtils.scrollToElementBySelector(this.content, '#core-course-module-' + this.moduleId); }, 200); + } else { + this.domUtils.scrollToTop(this.content, 0); } }