diff options
-rw-r--r-- | upd8.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/upd8.js b/upd8.js index 7bb60348..173fcc77 100644 --- a/upd8.js +++ b/upd8.js @@ -2452,6 +2452,7 @@ function generateSidebarForAlbum(album, currentTrack = null) { ${track.group && fixWS` <dt style="${getThemeString(track)}" ${classes(currentTrack && track.group === currentTrack.group && 'current')}> <a href="${C.TRACK_DIRECTORY}/${track.directory}/index.html">${track.group}</a> + ${listTag === 'ol' ? `(${i + 1}–${arr.length - arr.slice().reverse().findIndex(t => t.group === track.group)})` : `<!-- (here: track number range) -->`} </dt> `} <dd style="${getThemeString(track)}"><${listTag === 'ol' ? `ol start="${i + 1}"` : listTag}> |