mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 04:35:26 +00:00
Update jot-header.tpl
back to a known working state
This commit is contained in:
parent
0530eaafa4
commit
3ef30d6afb
1 changed files with 2 additions and 2 deletions
|
@ -779,8 +779,8 @@ let postSaveTimer = null;
|
||||||
case "image/jpeg":
|
case "image/jpeg":
|
||||||
case "image/png":
|
case "image/png":
|
||||||
case "image/gif":
|
case "image/gif":
|
||||||
{{*let send = `[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]`;
|
{{*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>`;
|
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/mp4":
|
||||||
case "video/webm":
|
case "video/webm":
|
||||||
|
|
Loading…
Reference in a new issue