Update jot-header.tpl

another test
This commit is contained in:
Ray 2023-03-13 09:30:20 -04:00
parent 6e25b5183e
commit 860ea809b9

View file

@ -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":