]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/View.pm
view: "thread" in per-message view goes back to /t/
[public-inbox.git] / lib / PublicInbox / View.pm
index ad03cfe22efbc874e045bcff8d97dc362296ad3b..204004709474d914e6cca17adc09e3e0f74f70cb 100644 (file)
@@ -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 ');
                }