Update jot-header.tpl

This commit is contained in:
Ray 2023-02-27 14:20:32 -05:00
parent 93a48ec4aa
commit 0a3404e9a0

View file

@ -782,7 +782,7 @@ let postSaveTimer = null;
case "image/png":
case "image/gif":
let send = `/cloud/${address}/${result.display_path}`;
return `<li onclick ="setEmbedFiles()"><img src="/cloud/${address}/${result.display_path}" class="img-fluid img-thumbnail" ></li>`;
return `<li onclick ="setEmbedFiles(send)"><img src="/cloud/${address}/${result.display_path}" class="img-fluid img-thumbnail" ></li>`;
case "video/mp4":
return `<li class="border rounded my-1 p-2" ><h4 onclick ="setEmbedFiles()">${result.filename}<i class="float-end">{{$clicktitle}}</i></h4><video poster="images/video_poster.jpg" controls="controls" preload="none" src="/cloud/${address}/${result.display_path}" style="width:100%;" /></li>`;
case "audio/mpeg":