@innovastudio/contentbuilder 1.5.141 → 1.5.142
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.
package/package.json
CHANGED
@@ -81149,7 +81149,7 @@ class LivePreview {
|
|
81149
81149
|
if (this.builder.livePreviewAlwaysReload || hardReload) {
|
81150
81150
|
iframe.src = this.builder.previewURL + '?' + Math.floor(Date.now() / 1000);
|
81151
81151
|
} else {
|
81152
|
-
let iframeDocument = iframe.contentDocument || iframe.contentWindow.document;
|
81152
|
+
let iframeDocument = iframe.contentDocument || iframe.contentWindow && iframe.contentWindow.document;
|
81153
81153
|
if (iframeDocument) {
|
81154
81154
|
if (!iframeDocument.body) {
|
81155
81155
|
iframe.src = this.builder.previewURL + '?' + Math.floor(Date.now() / 1000);
|