Update jot-header.tpl

does iframe need a closing tag?
This commit is contained in:
Ray 2023-03-04 08:11:50 -05:00
parent 189ab40fd3
commit 8eeb52edb6

View file

@ -798,7 +798,7 @@ let postSaveTimer = null;
//case "text/vnd.abc": these 2 don't work, they open the download dialog
case "text/plain":
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:
return;
}