diff options
author | Yorhel <git@yorhel.nl> | 2016-01-10 16:03:37 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2016-01-10 16:03:37 +0100 |
commit | ba1b3906aa7e19643fc745b4e19b29f68dbdbf37 (patch) | |
tree | 3a036c699e622319ffbd548fbd9f7456135cd2a4 /lib/VNDB | |
parent | 279ac5d9bf1162824849ba0bb71c3fdad33b20d1 (diff) |
Add 'more'/'less' buttons to staff/character boxes on VN pages
Diffstat (limited to 'lib/VNDB')
-rw-r--r-- | lib/VNDB/Handler/VNPage.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VNDB/Handler/VNPage.pm b/lib/VNDB/Handler/VNPage.pm index 7a554c35..74969a8b 100644 --- a/lib/VNDB/Handler/VNPage.pm +++ b/lib/VNDB/Handler/VNPage.pm @@ -917,7 +917,7 @@ sub _charsum { } } - div class => 'mainbox charsum'; + div class => 'mainbox charsum summarize'; $self->charOps(0) if $has_spoilers; h1 mt '_vnpage_charsum'; div class => 'charsum_list'; @@ -949,7 +949,7 @@ sub _staff { my ($self, $v) = @_; return if !@{$v->{credits}}; - div class => 'mainbox staff', id => 'staff'; + div class => 'mainbox staff summarize', 'data-summarize-height' => 100, id => 'staff'; h1 mt '_vnpage_staff'; for my $r (@{$self->{staff_roles}}) { my @s = grep $_->{role} eq $r, @{$v->{credits}}; |