diff --git a/static/visualizer/common.js b/static/visualizer/common.js index 1c73001b..43247b81 100644 --- a/static/visualizer/common.js +++ b/static/visualizer/common.js @@ -10,7 +10,7 @@ function makeEmbeddedIframeTag(iframeUrl) { var height = parseInt(event.data.rcvisHeight); iframe.height = height + 'px'; }, false); - contentWindow.postMessage({getSize: true}, '${iframeUrl}'); + contentWindow.postMessage({getSize: true}, '*'); "> `; return text; diff --git a/static/visualizer/visualize-nonblocking.js b/static/visualizer/visualize-nonblocking.js index 70d1eeab..100eae83 100644 --- a/static/visualizer/visualize-nonblocking.js +++ b/static/visualizer/visualize-nonblocking.js @@ -58,7 +58,6 @@ function setUpIframeMessageListener() { var height = document.getElementById("embedded-content").scrollHeight + document.getElementById("embedded-footer").scrollHeight + 10; - console.log("sending message" + height); parent.postMessage({rcvisHeight: height}, "*"); } });