diff --git a/lms/static/completion/js/ViewedEvent.js b/lms/static/completion/js/ViewedEvent.js index 848312e05eee..5e45bb34174c 100644 --- a/lms/static/completion/js/ViewedEvent.js +++ b/lms/static/completion/js/ViewedEvent.js @@ -189,9 +189,9 @@ export class ViewedEventTracker { }); } - /** Handle a visibilityStatus message from the Learning MFE. */ + /** Handle a unit.visibilityStatus message from the Learning MFE. */ handleVisibilityMessage(event) { - if (event.data.type === 'visibilityStatus') { + if (event.data.type === 'unit.visibilityStatus') { const { topPosition, viewportHeight } = event.data.data; this.elementViewings.forEach((elv) => {