remove useless rootMargin

This commit is contained in:
Tomáš Mládek 2021-01-10 13:04:48 +01:00
parent 847f40961a
commit b4e357a213

View file

@ -57,7 +57,7 @@ export default defineComponent({
element.classList.remove("visible");
}
});
}, {rootMargin: "100px"});
});
Array.from((root.value as Element).children).forEach((el) => {
observer.observe(el);
});