mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 23:55:19 +00:00
parent
1fe1995b20
commit
4dfcfb6dab
1 changed files with 5 additions and 2 deletions
|
@ -792,9 +792,12 @@ let postSaveTimer = null;
|
|||
case "image/png":
|
||||
case "image/gif":
|
||||
//case "image/svg+xml": not working
|
||||
// let send_id = `embedFiles_${result.id}`;
|
||||
{{* let send = `[img]${baseurl}/cloud/${address}/${result.display_path}[/img]`; *}}
|
||||
let send_id = `embedFiles_${result.id}`;
|
||||
{{* $( document ).ready(function() { document.getElementById(send_id).addEventListener("click", function() { setEmbedFiles(send); }); }); *}}
|
||||
$( document ).ready(function() { document.getElementById(send_id).addEventListener("click", function() { setEmbedFiles2(result); }); });
|
||||
return `<li id = "${result.id}" data-bs-dismiss="modal" ><img src="/cloud/${address}/${result.display_path}" class="img-fluid img-thumbnail" ></li>`;
|
||||
// setEmbedFiles2(result);
|
||||
return `<li id = "${send_id}" data-bs-dismiss="modal" ><img src="/cloud/${address}/${result.display_path}" class="img-fluid img-thumbnail" ></li>`;
|
||||
case "video/mp4":
|
||||
case "video/webm":
|
||||
case "video/ogg":
|
||||
|
|
Loading…
Reference in a new issue