summaryrefslogtreecommitdiff
path: root/public/static/scripts
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-07-27 11:35:55 +0500
committerilotterytea <iltsu@alright.party>2025-07-27 11:35:55 +0500
commit8168cc771b81b14b13a2e042cef3d07589bf0655 (patch)
treee24929ca52ab27156fd7ac9a2d1de2eeeededbaf /public/static/scripts
parent1ce4d8f98b4b0173367dd060e3714c527666b368 (diff)
upd: lazy loading
Diffstat (limited to 'public/static/scripts')
-rw-r--r--public/static/scripts/upload.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/public/static/scripts/upload.js b/public/static/scripts/upload.js
index f180d9a..226257d 100644
--- a/public/static/scripts/upload.js
+++ b/public/static/scripts/upload.js
@@ -8,6 +8,7 @@ function createUploadedFileItem(data) {
const preview = document.createElement("img");
preview.alt = "No thumbnail.";
+ preview.loading = "lazy";
previewContainer.appendChild(preview);
const header = document.createElement("h2");