@gemx-dev/clarity-visualize 0.8.58 → 0.8.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -403,7 +403,8 @@ function createParentWindowCanvas(iframeDoc, portalCanvasId) {
|
|
|
403
403
|
var parentDoc = parentWindow === null || parentWindow === void 0 ? void 0 : parentWindow.document;
|
|
404
404
|
if (!parentDoc)
|
|
405
405
|
throw new Error('Parent document not found');
|
|
406
|
-
var
|
|
406
|
+
var iframeId = "clarity-iframe-".concat(portalCanvasId);
|
|
407
|
+
var iframe = parentDoc.getElementById(iframeId);
|
|
407
408
|
if (!iframe)
|
|
408
409
|
throw new Error('Iframe not found');
|
|
409
410
|
var targetIframe = iframe;
|