Update jot-header.tpl

This commit is contained in:
Ray 2023-03-13 15:50:28 -04:00
parent 1feb66e5fb
commit 59b4474372

View file

@ -809,7 +809,7 @@ let postSaveTimer = null;
case "image/svg+xml":
let sendsvg_id = `embedFiles_${result.id}`;
$( 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":
let sendabc_id = `embedFiles_${result.id}`;
$( document ).ready(function() { document.getElementById(sendabc_id).addEventListener("click", function() { setEmbedFiles2(result); }); });