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:38:54 +02:00
parent 91d89170f7
commit ed029faf06
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
@@ -153,9 +153,6 @@ export default class Component extends BaseComponent {
"scroll",
this._scrollHandler
);
setTimeout(() => {
this._scrollHandler();
}, 500);
}
/**