mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-78678 course: Highlight all types of modules when scrolling
This commit is contained in:
parent
57ae65f514
commit
269f64b8bf
2
course/format/amd/build/local/content.min.js
vendored
2
course/format/amd/build/local/content.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -350,10 +350,6 @@ export default class Component extends BaseComponent {
|
||||
}
|
||||
|
||||
const element = index[item.id].element;
|
||||
// Activities without url can only be page items in edit mode.
|
||||
if (item.type === 'cm' && !item.url && !this.reactive.isEditing) {
|
||||
return pageOffset >= element.offsetTop;
|
||||
}
|
||||
pageItem = item;
|
||||
return pageOffset >= element.offsetTop;
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user