mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 04:35:26 +00:00
Update jot-header.tpl
does iframe need a closing tag?
This commit is contained in:
parent
189ab40fd3
commit
8eeb52edb6
1 changed files with 1 additions and 1 deletions
|
@ -798,7 +798,7 @@ let postSaveTimer = null;
|
||||||
//case "text/vnd.abc": these 2 don't work, they open the download dialog
|
//case "text/vnd.abc": these 2 don't work, they open the download dialog
|
||||||
case "text/plain":
|
case "text/plain":
|
||||||
let sendplain = `/cloud/${address}/${result.display_path}`;
|
let sendplain = `/cloud/${address}/${result.display_path}`;
|
||||||
return`<li class="border rounded my-1 p-2" onclick ="setEmbedFiles('${sendplain}')" data-bs-dismiss="modal" ><h4>${result.filename}<i class="float-end">{{$clicktitle}}</i></h4><iframe src="/cloud/${address}/${result.display_path}" ></iframe></li>`;
|
return`<li class="border rounded my-1 p-2" onclick ="setEmbedFiles('${sendplain}')" data-bs-dismiss="modal" ><h4>${result.filename}<i class="float-end">{{$clicktitle}}</i></h4><iframe src="/cloud/${address}/${result.display_path}" ></li>`;
|
||||||
default:
|
default:
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue