about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
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 ');
                 }