mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 00:55:19 +00:00
Update jot-header.tpl
with a little luck this will work
This commit is contained in:
parent
1a9eed1da3
commit
2a6fc5e897
1 changed files with 0 additions and 3 deletions
|
@ -792,11 +792,8 @@ let postSaveTimer = null;
|
||||||
case "image/png":
|
case "image/png":
|
||||||
case "image/gif":
|
case "image/gif":
|
||||||
//case "image/svg+xml": not working
|
//case "image/svg+xml": not working
|
||||||
{{* let send = `[img]${baseurl}/cloud/${address}/${result.display_path}[/img]`; *}}
|
|
||||||
let send_id = `embedFiles_${result.id}`;
|
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); }); });
|
$( document ).ready(function() { document.getElementById(send_id).addEventListener("click", function() { setEmbedFiles2(result); }); });
|
||||||
// setEmbedFiles2(result);
|
|
||||||
return `<li id = "embedFiles_${result.id}" data-bs-dismiss="modal" ><img src="/cloud/${address}/${result.display_path}" class="img-fluid img-thumbnail" ></li>`;
|
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":
|
case "video/mp4":
|
||||||
case "video/webm":
|
case "video/webm":
|
||||||
|
|
Loading…
Reference in a new issue