diff options
author | Eric Wong <e@80x24.org> | 2015-12-30 22:31:49 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-12-30 22:31:49 +0000 |
commit | 430a7799c319df9dcef0dae0a5aa0add0a40d6a1 (patch) | |
tree | d9f5e653495f15fd5dd6e84e63deb1007a6b6e70 /lib/PublicInbox | |
parent | 9f297a938dc3dec3d2ab5ba56394c97f393a95e4 (diff) | |
download | public-inbox-430a7799c319df9dcef0dae0a5aa0add0a40d6a1.tar.gz |
Linking to the expanded thread page probably makes more sense as it avoid unnecessary scanning for the thread summary.
Diffstat (limited to 'lib/PublicInbox')
-rw-r--r-- | lib/PublicInbox/View.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index ad03cfe2..20400470 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -580,7 +580,8 @@ sub html_footer { $irt .= ' ' x length('next '); } if ($p || $next) { - $irt .= "<a\nhref=\"#r\">thread</a> "; + my $tpfx = $full_pfx ? '' : '../'; + $irt .= "<a\nhref=\"${tpfx}t/#u\">thread</a> "; } else { $irt .= ' ' x length('thread '); } |