We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d6cd42 commit d4b6fe3Copy full SHA for d4b6fe3
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