mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 23:55:19 +00:00
Update jot-header.tpl
another test
This commit is contained in:
parent
6e25b5183e
commit
860ea809b9
1 changed files with 2 additions and 1 deletions
|
@ -791,7 +791,8 @@ let postSaveTimer = null;
|
|||
//case "image/svg+xml": not working
|
||||
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() { setEmbedFiles(send); }); }); *}}
|
||||
$( document ).ready(function() { document.getElementById(send_id).addEventListener("click", function() { setEmbedFiles2(result); }); });
|
||||
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":
|
||||
|
|
Loading…
Reference in a new issue