Add Discord-hosted preview caching (C11)
This commit is contained in:
+1
-1
@@ -198,7 +198,7 @@
|
||||
if ((item.kind === "image" || item.kind === "gif") && /^(https?:|\/)/.test(source)) {
|
||||
const img = document.createElement("img");
|
||||
img.loading = "lazy";
|
||||
img.src = source;
|
||||
img.src = item.thumbUrl || source;
|
||||
img.alt = item.kind;
|
||||
card.append(img);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user