mirror of
https://github.com/mickael-kerjean/filestash
synced 2025-12-15 21:04:46 +01:00
fix (viewer): iframe viewerpage
This commit is contained in:
parent
cab64cf2ea
commit
5bebfbbd45
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ import { getCurrentPath } from "./common.js";
|
|||
export default function(render, { endpoint = "" }) {
|
||||
const $page = createElement(`
|
||||
<div class="component_appframe">
|
||||
<iframe src="${endpoint}?path=${encodeURIComponent(getCurrentPath())}"></iframe>
|
||||
<iframe style="width:100%;height:100%" src="${endpoint}?path=${encodeURIComponent(getCurrentPath())}" scrolling="no"></iframe>
|
||||
</div>
|
||||
`);
|
||||
render($page);
|
||||
|
|
|
|||
Loading…
Reference in a new issue