mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Use isIntersecting instead of intersectionRatio
This commit is contained in:
parent
aa009091d5
commit
c200a7d2c6
2 changed files with 2 additions and 1 deletions
|
@ -83,7 +83,7 @@ worker.addEventListener(
|
|||
source = entry;
|
||||
}
|
||||
|
||||
if (entry.intersectionRatio > 0) {
|
||||
if (entry.isIntersecting) {
|
||||
if (source) {
|
||||
fillImageElement(target, source);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue