diff --git a/src/embedded-script.js b/src/embedded-script.js index 7d4d43b7..318d7720 100644 --- a/src/embedded-script.js +++ b/src/embedded-script.js @@ -67,7 +67,7 @@ const CncfLandscapeApp = { search: window.location.search, pathname: window.location.pathname } - }); + }, '*'); } } document.addEventListener('DOMContentLoaded', () => CncfLandscapeApp.init()); diff --git a/src/modal-script.js b/src/modal-script.js index fa97af0d..7ff1e6f5 100644 --- a/src/modal-script.js +++ b/src/modal-script.js @@ -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());