reorder loading=lazy before src per the svelte docs

This commit is contained in:
Gani Georgiev 2023-12-18 07:47:17 +02:00
parent 4e91be6d74
commit 5f5f9ca426
1 changed files with 1 additions and 1 deletions

View File

@ -62,10 +62,10 @@
{#if type === "image"} {#if type === "image"}
<img <img
draggable={false} draggable={false}
loading="lazy"
src={thumbUrl} src={thumbUrl}
alt={filename} alt={filename}
title="Preview {filename}" title="Preview {filename}"
loading="lazy"
on:error={onError} on:error={onError}
/> />
{:else if type === "video" || type === "audio"} {:else if type === "video" || type === "audio"}