mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Remove superfluous observer instance in lazyloader
This commit is contained in:
parent
fc6a11bb4b
commit
03b614266e
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
||||||
const callback = this.options.callback;
|
const callback = this.options.callback;
|
||||||
|
|
||||||
const observer = new IntersectionObserver(
|
const observer = new IntersectionObserver(
|
||||||
(entries, observer) => {
|
(entries) => {
|
||||||
entries.forEach(entry => {
|
entries.forEach(entry => {
|
||||||
callback(entry);
|
callback(entry);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue