Skip to content

Commit c48139b

Browse files
change attr name
1 parent 14f3f24 commit c48139b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/oc-client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,7 @@ export function createOc(oc) {
723723
}
724724

725725
if (this.#manageLifecycle) {
726-
if (this.getAttribute("lazy") === "true") {
726+
if (this.getAttribute("loading") === "lazy") {
727727
const observer = new IntersectionObserver((entries) => {
728728
for (const entry of entries) {
729729
if (entry.isIntersecting) {

0 commit comments

Comments
 (0)