« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/generateAlbumNavAccent.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/dependencies/generateAlbumNavAccent.js')
-rw-r--r--src/content/dependencies/generateAlbumNavAccent.js8
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')));