From f4a329433efe9c0cca5bd0b694cc586386620566 Mon Sep 17 00:00:00 2001 From: Bill Thornton Date: Wed, 19 Aug 2020 13:47:16 -0400 Subject: [PATCH] Only add background color to blurhashed items --- src/components/images/imageLoader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/images/imageLoader.js b/src/components/images/imageLoader.js index 17ec55d7a..b0ffecd64 100644 --- a/src/components/images/imageLoader.js +++ b/src/components/images/imageLoader.js @@ -87,7 +87,7 @@ import 'css!./style'; requestAnimationFrame(() => { if (elem.tagName !== 'IMG') { elem.style.backgroundImage = "url('" + url + "')"; - if (!elem.classList.contains('non-blurhashable')) { + if (elem.classList.contains('blurhashed')) { elem.style.backgroundColor = '#fff'; } } else {