Skip to content

Commit 756e66f

Browse files
committed
Fix typo
1 parent 4ee8efe commit 756e66f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ for me, but you can apply your own using CSS.
324324
let loaded
325325
</script>
326326
327-
<Img class="better-blur" class={loaded} on:load={() => (loaded = true)} {src} alt="cat" />
327+
<Img class="better-blur {loaded ? 'loaded' : ''}" on:load={() => (loaded = true)} {src} alt="cat" />
328328
329329
<style>
330330
:global(img.better-blur)::after {

0 commit comments

Comments
 (0)