diff options
| author | ilotterytea <iltsu@alright.party> | 2025-07-27 11:35:55 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-07-27 11:35:55 +0500 |
| commit | 8168cc771b81b14b13a2e042cef3d07589bf0655 (patch) | |
| tree | e24929ca52ab27156fd7ac9a2d1de2eeeededbaf /public/static/scripts/upload.js | |
| parent | 1ce4d8f98b4b0173367dd060e3714c527666b368 (diff) | |
upd: lazy loading
Diffstat (limited to 'public/static/scripts/upload.js')
| -rw-r--r-- | public/static/scripts/upload.js | 1 |
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"); |
