about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-12-30 22:31:49 +0000
committerEric Wong <e@80x24.org>2015-12-30 22:31:49 +0000
commit430a7799c319df9dcef0dae0a5aa0add0a40d6a1 (patch)
treed9f5e653495f15fd5dd6e84e63deb1007a6b6e70 /lib
parent9f297a938dc3dec3d2ab5ba56394c97f393a95e4 (diff)
downloadpublic-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')
-rw-r--r--lib/PublicInbox/View.pm3
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 ');
                 }