From b3eae916fb3758b3878947fe8697e9478887c76a Mon Sep 17 00:00:00 2001 From: Agrendalath Date: Fri, 31 May 2024 15:46:34 +0200 Subject: [PATCH] fixup! fix: send XBlock visibility status to the LMS --- src/courseware/course/sequence/Unit.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/courseware/course/sequence/Unit.jsx b/src/courseware/course/sequence/Unit.jsx index 530c7a4dac..f7dc8bfd09 100644 --- a/src/courseware/course/sequence/Unit.jsx +++ b/src/courseware/course/sequence/Unit.jsx @@ -120,7 +120,7 @@ const Unit = ({ if (iframeElement) { const rect = iframeElement.getBoundingClientRect(); const visibleInfo = { - type: 'visibilityStatus', + type: 'unit.visibilityStatus', data: { topPosition: rect.top, viewportHeight: window.innerHeight,