Also add username hover to most active card

This commit is contained in:
JonnyWong16
2020-09-29 21:00:47 -07:00
parent e3eca5af46
commit 5dc0d5536d
3 changed files with 7 additions and 7 deletions

View File

@@ -759,7 +759,7 @@
if (user_id) {
href = page('user', user_id);
}
$('#stats-thumb-url-' + stat_id).attr('href', href).prop('title', $(elem).data('friendly_name'));
$('#stats-thumb-url-' + stat_id).attr('href', href).prop('title', $(elem).data('user'));
} else if (stat_id === 'top_platforms') {
$('#stats-thumb-' + stat_id).removeClass(function (index, className) {
return (className.match (/(^|\s)platform-\S+/g) || []).join(' ');