From ab6f024f98195a55e5f6b8c7264e7a7eb918226e Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 6 Apr 2021 13:32:50 -0300 Subject: fix colorless album groups in sidebar (thanks FF!) --- upd8.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/upd8.js b/upd8.js index 3041b504..123dbcc5 100755 --- a/upd8.js +++ b/upd8.js @@ -5156,7 +5156,7 @@ function generateSidebarForAlbum(album, currentTrack, {strings, to}) { const trackToListItem = track => `
  • ${ strings('albumSidebar.trackList.item', { - track: `${track.name}` + track: strings.link.track(track, {to}) }) }
  • `; @@ -5169,11 +5169,11 @@ function generateSidebarForAlbum(album, currentTrack, {strings, to}) {
    ${ (listTag === 'ol' ? strings('albumSidebar.trackList.group.withRange', { - group: `${name}`, + group: strings.link.track(tracks[0], {to, text: name}), range: `${startIndex + 1}–${startIndex + tracks.length}` }) : strings('albumSidebar.trackList.group', { - group: `${name}` + group: strings.link.track(tracks[0], {to, text: name}) })) }
    ${(!currentTrack || tracks.includes(currentTrack)) && fixWS` -- cgit 1.3.0-6-gf8a5