]> Sergey Matveev's repositories - public-inbox.git/commitdiff
view: jump to anchor of current message on References
authorEric Wong <e@80x24.org>
Sun, 13 Sep 2015 23:31:58 +0000 (23:31 +0000)
committerEric Wong <e@80x24.org>
Sun, 13 Sep 2015 23:31:58 +0000 (23:31 +0000)
Otherwise it could be a bit disorienting to jump to the
first message in the thread without navigation context.

lib/PublicInbox/View.pm

index aaab3b2a122450b83e26bc1dbdde622c4c75d4d8..65bc2f810be2bf2eff794e649455094241ba3392 100644 (file)
@@ -436,7 +436,7 @@ sub headers_to_html_header {
        if ($srch) {
                if ($header_obj->header('In-Reply-To') ||
                    $header_obj->header('References')) {
-                       $rv .= "<a\nhref=\"${upfx}t/\">" .
+                       $rv .= "<a\nhref=\"${upfx}t/#u\">" .
                                "References: [expand]</a>\n";
                }