summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2016-02-12 21:22:58 +0100
committerYorhel <git@yorhel.nl>2016-02-12 21:22:58 +0100
commitd33929c047478ec10bf96bfa9b7e33fc0439f429 (patch)
treeff544e79cee98d5203e897a6789cde113b1c7ca7 /util
parent323f1d599316b0c17aa47e97b80cc842e3d90ab5 (diff)
JS: Fix char_roles bug + CSS: Minor tweaks to main VN info layout
Diffstat (limited to 'util')
-rwxr-xr-xutil/jsgen.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/jsgen.pl b/util/jsgen.pl
index cf2c5638..8317f86f 100755
--- a/util/jsgen.pl
+++ b/util/jsgen.pl
@@ -38,7 +38,7 @@ sub vars {
age_ratings => [ map [ $_, $_ == -1 ? 'Unknown' : $_ == 0 ? 'All ages' : "$_+" ], @{$S{age_ratings}} ],
languages => [ map [ $_, $S{languages}{$_} ], keys %{$S{languages}} ],
platforms => [ map [ $_, $S{platforms}{$_} ], keys %{$S{platforms}} ],
- char_roles => [ map [ $_, $S{char_roles}{$_} ], keys %{$S{char_roles}} ],
+ char_roles => [ map [ $_, $S{char_roles}{$_}[0] ], keys %{$S{char_roles}} ],
media => [ map [ $_, $S{media}{$_}[1], $S{media}{$_}[0] ], keys %{$S{media}} ],
release_types => [ map [ $_, ucfirst $_ ], @{$S{release_types}} ],
animated => [ map [ $_, $S{animated}[$_] ], 0..$#{$S{animated}} ],