1
0
Fork 0
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:
Bill Thornton 2021-11-09 16:51:42 -05:00 committed by GitHub
commit 0247487aa2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -109,6 +109,9 @@ import './style.scss';
} }
function emptyImageElement(elem) { function emptyImageElement(elem) {
// block repeated call - requestAnimationFrame twice for one image
if (elem.getAttribute('data-src')) return;
let url; let url;
if (elem.tagName !== 'IMG') { if (elem.tagName !== 'IMG') {