diff options
Diffstat (limited to 'src/content/dependencies/generateAlbumNavAccent.js')
-rw-r--r-- | src/content/dependencies/generateAlbumNavAccent.js | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/content/dependencies/generateAlbumNavAccent.js b/src/content/dependencies/generateAlbumNavAccent.js index 01c88bf7..121af439 100644 --- a/src/content/dependencies/generateAlbumNavAccent.js +++ b/src/content/dependencies/generateAlbumNavAccent.js @@ -90,11 +90,9 @@ export default { slots.showTrackNavigation && data.hasMultipleTracks && html.tag('a', - { - href: '#', - 'data-random': 'track-in-sidebar', - id: 'random-button', - }, + {id: 'random-button'}, + {href: '#', 'data-random': 'track-in-sidebar'}, + (data.isTrackPage ? language.$('trackPage.nav.random') : language.$('albumPage.nav.randomTrack'))); |