1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Fix re-emptying image

This commit is contained in:
Dmitry Lyzo 2021-11-06 00:41:10 +03:00
parent 832a204130
commit bca0e726ca

View file

@ -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') {