« get me outta code hell

fix broken random links - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/page
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2022-11-27 11:25:12 -0400
committer(quasar) nebula <qznebula@protonmail.com>2022-11-27 11:25:12 -0400
commitfb5859f083687b477b8e65e0e4de56baf4b35a98 (patch)
treed60dbc82fb942d912ce3bc19cfbc404d56d608aa /src/page
parent903e21d8afa9b3262194f641f8bee0955289bf21 (diff)
fix broken random links
Diffstat (limited to 'src/page')
-rw-r--r--src/page/album.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/page/album.js b/src/page/album.js
index 009ed55d..e7658cda 100644
--- a/src/page/album.js
+++ b/src/page/album.js
@@ -543,7 +543,7 @@ export function generateAlbumNavLinks(album, currentTrack, {
   const randomLink = html.tag('a',
     {
       href: '#',
-      dataRandom: 'track-in-album',
+      'data-random': 'track-in-album',
       id: 'random-button'
     },
     (isTrackPage