diff --git a/src/scripts/app.js b/src/scripts/app.js index 754c1a5..c4500bb 100644 --- a/src/scripts/app.js +++ b/src/scripts/app.js @@ -484,7 +484,7 @@ export default class InteractiveBook extends H5P.EventDispatcher { const container = this.pageContent.container; container.scrollBy(0, -container.scrollHeight); } - else if (H5PIntegration.context !== 'lti') { + else if (contentData.isInLti) { this.statusBarHeader.wrapper.scrollIntoView(true); } });