mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 21:35:13 +00:00
Update jot-header.tpl
try that again
This commit is contained in:
parent
1d51d9be99
commit
4d1670f765
1 changed files with 1 additions and 1 deletions
|
@ -806,7 +806,7 @@ let postSaveTimer = null;
|
|||
case "audio/ogg":
|
||||
// let sendmpeg = `[audio]/cloud/${address}/${result.display_path}[/audio]`;
|
||||
let sendmpeg_id = `embedFiles_${result.id}`;
|
||||
$( document ).ready(function() { document.getElementById(sendmpeg_id).addEventListener("click", function() { setEmbedFiles(sendmpeg); }); });
|
||||
$( document ).ready(function() { document.getElementById(sendmpeg_id).addEventListener("click", function() { setEmbedFiles2(result); }); });
|
||||
return `<li id = "${sendmpeg_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" ><audio src="/cloud/${address}/${result.display_path}" controls="controls" preload="none" /></li>`;
|
||||
//case "text/html":
|
||||
//case "text/vnd.abc":
|
||||
|
|
Loading…
Reference in a new issue