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

Style. Prefer to use nowPlayingImageUrl to load image in order to make intent clear.

This commit is contained in:
callum 2022-09-03 21:54:09 +01:00
parent 44a5d7bb8d
commit 689a65cc92

View file

@ -526,7 +526,7 @@ import { appRouter } from '../appRouter';
if (url && url !== nowPlayingImageUrl) {
nowPlayingImageUrl = url;
imageLoader.lazyImage(nowPlayingImageElement, url);
imageLoader.lazyImage(nowPlayingImageElement, nowPlayingImageUrl);
nowPlayingImageElement.style.display = null;
nowPlayingTextElement.style.marginLeft = null;
} else {