Update jot-header.tpl

back to a known working state
This commit is contained in:
Ray 2023-03-02 09:19:39 -05:00
parent 0530eaafa4
commit 3ef30d6afb

View file

@ -779,8 +779,8 @@ let postSaveTimer = null;
case "image/jpeg":
case "image/png":
case "image/gif":
{{*let send = `[zmg]${baseurl}/cloud/${address}/${result.display_path}[/zmg]`;*}}
let send = `[zrl=${baseurl}/cloud/${address}/${result.hash}][/zrl][zmg]${baseurl}/cloud/${address}/{result.display_path}[/zmg]`;
let send = `[zmg]${baseurl}/cloud/${address}/${result.display_path}[/zmg]`;
{{*let send = `[zrl=${baseurl}/cloud/${address}/${result.hash}][/zrl][zmg]${baseurl}/cloud/${address}/{result.display_path}[/zmg]`;*}}
return `<li onclick ="setEmbedFiles('${send}')" data-bs-dismiss="modal" ><img src="/cloud/${address}/${result.display_path}" class="img-fluid img-thumbnail" ></li>`;
case "video/mp4":
case "video/webm":