We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2b389ae + d4b6fe3 commit c6a6ba4Copy full SHA for c6a6ba4
doc/_templates/layout.html
@@ -16,7 +16,7 @@
16
function trySendMessage(){
17
messageAttempts++;
18
if ('parentIFrame' in window) {
19
- const href = frameElement.contentWindow.location.href;
+ const href = window.location.href;
20
const type = "document-loaded";
21
window.parentIFrame.sendMessage({href, type});
22
} else {
0 commit comments