From 689a65cc92e3e7b39925a767886e85de61b06516 Mon Sep 17 00:00:00 2001 From: callum Date: Sat, 3 Sep 2022 21:54:09 +0100 Subject: [PATCH] Style. Prefer to use nowPlayingImageUrl to load image in order to make intent clear. --- src/components/nowPlayingBar/nowPlayingBar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/nowPlayingBar/nowPlayingBar.js b/src/components/nowPlayingBar/nowPlayingBar.js index 823f8fd178..779aaa52e7 100644 --- a/src/components/nowPlayingBar/nowPlayingBar.js +++ b/src/components/nowPlayingBar/nowPlayingBar.js @@ -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 {