diff options
author | Yorhel <git@yorhel.nl> | 2022-09-27 09:55:59 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2022-09-27 09:55:59 +0200 |
commit | 797ddf64b5fe22e7d07ec773342ed461db0f8edf (patch) | |
tree | eb934b28306ee51bf8cf2ebeef19b9561a174f71 | |
parent | af1da03a19e056ad864640ad14e9b26a0fcfc19f (diff) |
VN::Page: Fix display of unofficial titles
-rw-r--r-- | lib/VNWeb/VN/Page.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNWeb/VN/Page.pm b/lib/VNWeb/VN/Page.pm index 69aff93b..a58a742c 100644 --- a/lib/VNWeb/VN/Page.pm +++ b/lib/VNWeb/VN/Page.pm @@ -418,7 +418,7 @@ sub infobox_ { sub tlang_ { my($t) = @_; - tr_ class => 'title', class => $t->{official}?undef:'grayedout', sub { + tr_ mkclass(title => 1, grayedout => !$t->{official}), sub { td_ sub { abbr_ class => "icons lang $t->{lang}", title => $LANGUAGE{$t->{lang}}, ''; }; |