summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2021-06-24 16:33:39 +0200
committerYorhel <git@yorhel.nl>2021-06-24 16:33:39 +0200
commit85e7716b610baca80b9e120cfbb62d6d9f971e54 (patch)
tree5e23fe94f66cfa8e2c191d90917e07cdfcd19a7f
parent98f9b76a9ec342e7cc4512e8de1b3d669eee7ec1 (diff)
VN::List: Fix card mode
-rw-r--r--lib/VNWeb/VN/List.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNWeb/VN/List.pm b/lib/VNWeb/VN/List.pm
index d5ba588f..82cba23a 100644
--- a/lib/VNWeb/VN/List.pm
+++ b/lib/VNWeb/VN/List.pm
@@ -122,7 +122,7 @@ sub listing_ {
my($canlink) = @_; # grid contains an outer <a>, so may not contain links itself.
my sub lnk_ {
my($url, $title, $label) = @_;
- a_ href => $url, $title, $label if $canlink;
+ a_ href => $url, title => $title, $label if $canlink;
span_ $label if !$canlink;
}
lnk_ "/$_->{id}", $_->{original}||$_->{title}, $_->{title};