We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4e5e98 commit 7573fe0Copy full SHA for 7573fe0
src/annotator/index.ts
@@ -80,7 +80,7 @@ function init() {
80
});
81
sidebarLinkElement.addEventListener('destroy', resolveUnloadRequested);
82
83
- const hostFrame = annotatorConfig.subFrameIdentifier ? window.parent : window;
+ const hostFrame = annotatorConfig.subFrameIdentifier ? window.top! : window;
84
85
const destroyables = [] as Destroyable[];
86
0 commit comments