add most active libraries and total plays to home

This commit is contained in:
herby2212 2021-03-01 21:54:14 +01:00
commit 4e959be84d
5 changed files with 62 additions and 7 deletions

View file

@ -810,6 +810,10 @@
$('#stats-background-' + stat_id).removeClass(function (index, className) {
return (className.match (/(^|\s)platform-\S+/g) || []).join(' ');
}).addClass('platform-' + $(elem).data('platform') + '-rgba');
} else if (stat_id == 'top_libraries') {
$('#stats-thumb-' + stat_id).removeClass(function (index, className) {
return (className.match (/(^|\s)library-\S+/g) || []).join(' ');
}).addClass('library-' + $(elem).data('library-type'));
} else {
if (rating_key) {
if (live) {