diff --git a/src/components/projecteditor/sidePanels/preview/previewSidePanel.js b/src/components/projecteditor/sidePanels/preview/previewSidePanel.js index 80d75bb6..b70744ed 100644 --- a/src/components/projecteditor/sidePanels/preview/previewSidePanel.js +++ b/src/components/projecteditor/sidePanels/preview/previewSidePanel.js @@ -36,7 +36,7 @@ export class PreviewSidePanel extends React.Component { refresh() { const iframe = document.getElementById(IFRAME_ID); - iframe.contentWindow.location.reload(); + iframe.contentWindow.location.replace(`${getIframeSrc()}`); } tryDownload() {