Skip to content

Commit 72764fb

Browse files
committed
docs: corrected that selector
1 parent 368b76c commit 72764fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ In case that you're dynamically adding HTML elements within the browser, you cou
156156

157157
```JavaScript
158158
loadingAttributePolyfill.prepareElement(
159-
document.querySelector('main noscript.loading-lazy')
159+
document.querySelector('main [loading="lazy"]')
160160
);
161161
```
162162

0 commit comments

Comments
 (0)