reorder loading=lazy before src per the svelte docs
This commit is contained in:
parent
4e91be6d74
commit
5f5f9ca426
|
@ -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"}
|
||||||
|
|
Loading…
Reference in New Issue