« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/static
diff options
context:
space:
mode:
Diffstat (limited to 'src/static')
-rw-r--r--src/static/js/client-util.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/static/js/client-util.js b/src/static/js/client-util.js
index 764c1480..74d63ad6 100644
--- a/src/static/js/client-util.js
+++ b/src/static/js/client-util.js
@@ -97,12 +97,12 @@ export function getVisuallyContainingElement(child) {
 const getLinkHref = (type, directory) => rebase(`${type}/${directory}`);
 */
 
-export const openAlbum = d => rebase(`album/${d}`);
-export const openArtTag = d => rebase(`tag/${d}`);
-export const openArtist = d => rebase(`artist/${d}`);
-export const openFlash = d => rebase(`flash/${d}`);
-export const openGroup = d => rebase(`group/${d}`);
-export const openTrack = d => rebase(`track/${d}`);
+export const openAlbum = d => rebase(`album/${d}/`);
+export const openArtTag = d => rebase(`tag/${d}/`);
+export const openArtist = d => rebase(`artist/${d}/`);
+export const openFlash = d => rebase(`flash/${d}/`);
+export const openGroup = d => rebase(`group/${d}/`);
+export const openTrack = d => rebase(`track/${d}/`);
 
 // TODO: This should also use urlSpec.