From b6e73b5dea6dfce1f2c3efa513dd2a620b774591 Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Tue, 20 Feb 2018 13:39:41 -0800 Subject: [PATCH] Fix fallback thumb for home stats cards --- data/interfaces/default/home_stats.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/data/interfaces/default/home_stats.html b/data/interfaces/default/home_stats.html index 81be53df..49b7484d 100644 --- a/data/interfaces/default/home_stats.html +++ b/data/interfaces/default/home_stats.html @@ -217,7 +217,8 @@ DOCUMENTATION :: END $('#stats-thumb-' + stat_id).css('background-image', 'url(pms_image_proxy?img=' + thumb + '&width=300&height=' + height + '&fallback=' + fallback + ')'); $('#stats-thumb-' + stat_id + '-bg').css('background-image', 'url(pms_image_proxy?img=' + thumb + '&width=300&height=' + height + '&fallback=' + fallback + ')'); } else { - $('#stats-background-' + stat_id).css('background-image', 'url(images/' + fallback + '.png)'); + $('#stats-thumb-' + stat_id).css('background-image', 'url(images/' + fallback + '.png)'); + $('#stats-thumb-' + stat_id + '-bg').css('background-image', 'url(images/' + fallback + '.png)'); } } }