implement worker without proxies for better compatibility with old devices

This commit is contained in:
Fernando Fernández
2021-11-14 00:13:19 +01:00
parent e678d59a41
commit 5716e4cf05
3 changed files with 78 additions and 87 deletions
@@ -13,7 +13,10 @@
callback(entry);
});
},
{rootMargin: '25%'});
{
rootMargin: '50%',
threshold: 0
});
this.observer = observer;
}