use iframe for pdf preview, embed has weird caching issues

This commit is contained in:
Thomas Ruoff
2017-02-20 23:00:47 +01:00
parent 6c22c94f41
commit a05d34e0e6

View File

@@ -20,6 +20,6 @@ export default props => {
}
return (
<embed src={props.pdfUrl} width="600px" height="1000px"/>
<iframe src={props.pdfUrl} style="width:718px; height:700px;" frameborder="0"></iframe>
);
};