summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/VNWeb/VN/Page.pm2
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}}, '';
};