mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 00:55:19 +00:00
Update jot-header.tpl
This commit is contained in:
parent
1e5f5c8b00
commit
afe6e7c020
1 changed files with 1 additions and 1 deletions
|
@ -799,7 +799,7 @@ let postSaveTimer = null;
|
|||
case "image/gif":
|
||||
//case "image/svg+xml": not working
|
||||
let send = `[img]${baseurl}/cloud/${address}/${result.display_path}[/img]`;
|
||||
document.getElementById(`"embedFiles_${result.id}"`).addEventListener("click", function() { setEmbedFiles(send); });
|
||||
document.getElementById(`embedFiles_${result.id}`).addEventListener("click", function() { setEmbedFiles(send); });
|
||||
/* test(result); */
|
||||
return `<li id = "embedFiles_${result.id}" data-bs-dismiss="modal" ><img src="/cloud/${address}/${result.display_path}" class="img-fluid img-thumbnail" ></li>`;
|
||||
case "video/mp4":
|
||||
|
|
Loading…
Reference in a new issue