Skip to content

Commit

Permalink
fix iframe
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Kozlov authored and Andrey Kozlov committed Jun 7, 2022
1 parent d30b8ad commit b36a6dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/embedded-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const CncfLandscapeApp = {
search: window.location.search,
pathname: window.location.pathname
}
});
}, '*');
}
}
document.addEventListener('DOMContentLoaded', () => CncfLandscapeApp.init());
2 changes: 1 addition & 1 deletion src/modal-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ const CncfLandscapeApp = {
},

hideSelectedItem: function() {
window.parent.postMessage({type: 'landscapeapp-hide'});
window.parent.postMessage({type: 'landscapeapp-hide'}, '*');
}
}
document.addEventListener('DOMContentLoaded', () => CncfLandscapeApp.init());

0 comments on commit b36a6dd

Please sign in to comment.