]> Sergey Matveev's repositories - public-inbox.git/commitdiff
www: always show subject for root of thread skeleton
authorEric Wong <e@80x24.org>
Thu, 1 Sep 2022 08:42:55 +0000 (08:42 +0000)
committerEric Wong <e@80x24.org>
Fri, 2 Sep 2022 02:37:44 +0000 (02:37 +0000)
For users with short attention spans, the root message of should
have the Subject, since <title> is often truncated in most browsers.

lib/PublicInbox/View.pm

index f29fff50d63832376f74808f6385983291262cc1..2e5228e1c9609df75e8d3bba7f8c61c2035db5c3 100644 (file)
@@ -777,7 +777,6 @@ sub thread_skel ($$$) {
        # when multiple Subject: headers are present, so we follow suit:
        my $subj = $hdr->header('Subject') // '';
        $subj = '(no subject)' if $subj eq '';
-       $ctx->{prev_subj} = [ split(/ /, subject_normalized($subj)) ];
        $ctx->{cur} = $mid;
        $ctx->{prev_attr} = '';
        $ctx->{prev_level} = 0;