« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/page/group.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/page/group.js b/src/page/group.js
index 698c17ec..7282fc81 100644
--- a/src/page/group.js
+++ b/src/page/group.js
@@ -201,7 +201,7 @@ function generateGroupSidebar(currentGroup, isGallery, {
                     html.tag('ul',
                         category.groups.map(group => html.tag('li',
                             {
-                                class: currentGroup && 'current',
+                                class: group === currentGroup && 'current',
                                 style: getLinkThemeString(group.color)
                             },
                             strings('groupSidebar.groupList.item', {