mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-16 10:28:18 -07:00
Merge pull request #1461 from MrTimscampi/root-margins
Fix issue with IntersectionObserver root margin
This commit is contained in:
commit
c7fcddb3a2
@ -11,9 +11,9 @@
|
|||||||
(entries) => {
|
(entries) => {
|
||||||
entries.forEach(entry => {
|
entries.forEach(entry => {
|
||||||
callback(entry);
|
callback(entry);
|
||||||
},
|
|
||||||
{rootMargin: '50%'});
|
|
||||||
});
|
});
|
||||||
|
},
|
||||||
|
{rootMargin: '25%'});
|
||||||
|
|
||||||
this.observer = observer;
|
this.observer = observer;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user