Fix live tv thumb and art for top libraries statistics card

This commit is contained in:
JonnyWong16 2023-04-13 14:48:19 -07:00
commit 2921c1fc30
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
3 changed files with 6 additions and 3 deletions

View file

@ -809,7 +809,7 @@
if (stat_id === 'most_concurrent') {
return
} else if (stat_id === 'top_libraries') {
$('#stats-background-' + stat_id).css('background-image', 'url(' + page('pms_image_proxy', art || library_art, null, 500, 280, 40, '282828', 3, library_art || fallback_art) + ')');
$('#stats-background-' + stat_id).css('background-image', 'url(' + page('pms_image_proxy', art || library_art, null, 500, 280, 40, '282828', 3, fallback_art) + ')');
$('#stats-thumb-' + stat_id).removeClass(function (index, className) {
return (className.match (/(^|\s)svg-icon library-\S+/g) || []).join(' ')});
if (thumb.startsWith('http')) {