mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #3147 from jellyfin/fix-genre-image
Fix re-emptying image
This commit is contained in:
commit
0247487aa2
1 changed files with 3 additions and 0 deletions
|
@ -109,6 +109,9 @@ import './style.scss';
|
|||
}
|
||||
|
||||
function emptyImageElement(elem) {
|
||||
// block repeated call - requestAnimationFrame twice for one image
|
||||
if (elem.getAttribute('data-src')) return;
|
||||
|
||||
let url;
|
||||
|
||||
if (elem.tagName !== 'IMG') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue