mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 23:55:19 +00:00
Update jot-header.tpl
This commit is contained in:
parent
1feb66e5fb
commit
59b4474372
1 changed files with 1 additions and 1 deletions
|
@ -809,7 +809,7 @@ let postSaveTimer = null;
|
||||||
case "image/svg+xml":
|
case "image/svg+xml":
|
||||||
let sendsvg_id = `embedFiles_${result.id}`;
|
let sendsvg_id = `embedFiles_${result.id}`;
|
||||||
$( document ).ready(function() { document.getElementById(sendsvg_id).addEventListener("click", function() { setEmbedFiles2(result); }); });
|
$( document ).ready(function() { document.getElementById(sendsvg_id).addEventListener("click", function() { setEmbedFiles2(result); }); });
|
||||||
return `<li id = "${sendsvg_id}" class="border rounded my-1 p-2" data-bs-dismiss="modal" ><h4>${result.filename}</h4><img src="/images/mp3.png" class="img-fluid my-2" ></li>`;
|
return `<li id = "${sendsvg_id}" class="border rounded my-1 p-2" data-bs-dismiss="modal" ><h4>${result.filename}</h4><div class="border border-5 rounded text-center fw-bold">${result.filetype}</div></li>`;
|
||||||
case "text/vnd.abc":
|
case "text/vnd.abc":
|
||||||
let sendabc_id = `embedFiles_${result.id}`;
|
let sendabc_id = `embedFiles_${result.id}`;
|
||||||
$( document ).ready(function() { document.getElementById(sendabc_id).addEventListener("click", function() { setEmbedFiles2(result); }); });
|
$( document ).ready(function() { document.getElementById(sendabc_id).addEventListener("click", function() { setEmbedFiles2(result); }); });
|
||||||
|
|
Loading…
Reference in a new issue