mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add check for source when loading images
This commit is contained in:
parent
a7fe198329
commit
28f575755b
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ import 'css!./style';
|
|||
}
|
||||
|
||||
if (entry.intersectionRatio > 0) {
|
||||
fillImageElement(entry.target, source);
|
||||
if (source) fillImageElement(entry.target, source);
|
||||
} else if (!source) {
|
||||
emptyImageElement(entry.target);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue