MDL-81510 core_courseformat: Do not reset the scroll position

* Revert the change made in MDL-75762 which would wait and change
  course index selection depending on the actual scroll position
This commit is contained in:
Laurent David
2024-06-07 09:40:21 +02:00
parent c6f9ae9b4f
commit 4ab6a8552f
3 changed files with 2 additions and 5 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-3
View File
@@ -152,9 +152,6 @@ export default class Component extends BaseComponent {
"scroll",
this._scrollHandler
);
setTimeout(() => {
this._scrollHandler();
}, 500);
}
/**