diff options
author | (quasar) nebula <towerofnix@gmail.com> | 2021-06-10 16:41:37 -0300 |
---|---|---|
committer | (quasar) nebula <towerofnix@gmail.com> | 2021-06-10 16:42:04 -0300 |
commit | 18455459a991c3da8b32e2c47c4795dc90c6b422 (patch) | |
tree | 64639fc7313f880e1386c5ebcfcc83dd01638afe /src/page | |
parent | 04682cbea790fde874a8488777738d28758012a9 (diff) |
fix group page sidebar highlighting all groups
Diffstat (limited to 'src/page')
-rw-r--r-- | src/page/group.js | 2 |
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', { |