added back img preview
This commit is contained in:
parent
cbd5469e52
commit
53a268c9de
1 changed files with 4 additions and 0 deletions
|
@ -141,6 +141,10 @@ class embed{
|
|||
const td=document.createElement("td");
|
||||
const img=document.createElement("img");
|
||||
img.classList.add("embedimg");
|
||||
img.onclick=function(){
|
||||
const full=new fullscreen(["img",img.src,["fit"]]);
|
||||
full.show();
|
||||
}
|
||||
img.src=this.json.thumbnail.proxy_url;
|
||||
td.append(img);
|
||||
trtop.append(td);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue