File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
src/pages/2023-05/lazy-load-images Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -31,3 +31,4 @@ export default defineConfig(
31
31
// TODO: Move over to the content folder
32
32
// TODO: Add TS Support
33
33
// TODO: Add analytic conversion tracking (for things like newsletter signups)
34
+ // TODO: Optimize/Shrink Images
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ Now the only thing left to do is to fade in the full image once it is loaded. Th
137
137
```
138
138
139
139
``` js
140
- const blurredImageDiv = document .querySelector (" .blurred-image " )
140
+ const blurredImageDiv = document .querySelector (" .blurred-img " )
141
141
const img = blurredImageDiv .querySelector (" img" )
142
142
function loaded () {
143
143
blurredImageDiv .classList .add (" loaded" )
You can’t perform that action at this time.
0 commit comments