- Added Preferences tab
	- Piped Api Selection
	- Bug Fixes
This commit is contained in:
Shiny Nematoda 2022-05-15 09:51:06 +05:30
parent 19fc65e6c0
commit 0c1bb172b1
16 changed files with 384 additions and 216 deletions

View file

@ -12,7 +12,7 @@ export function useLazyLoad() {
lazyElems = document.querySelectorAll('.bg-img:not(.lazy)');
let imgObs = new IntersectionObserver((elems, obs) => {
elems.forEach((elem) => {
elems.forEach(elem => {
setTimeout(() => {
if (elem.isIntersecting) {
let ele = elem.target;
@ -24,7 +24,7 @@ export function useLazyLoad() {
});
});
lazyElems.forEach((img) => {
lazyElems.forEach(img => {
imgObs.observe(img);
});
} else {