Skip to content

Commit

Permalink
Merge pull request #351 from ostap1010/master
Browse files Browse the repository at this point in the history
Bug: reload iframe is blocked on cross origin domains
  • Loading branch information
javier-tarazaga authored Jan 16, 2019
2 parents 197f90d + e8dcaab commit 297e97a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 297e97a

Please sign in to comment.