diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/PublicInbox/View.pm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index e72243be..88ab2d2f 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -475,8 +475,11 @@ sub thread_inline { return; } - $$dst .= "~$nr messages (<a\nhref=\"#b\">skip</a> / " . - $expand . ")\n"; + $$dst .= "~$nr messages ($expand"; + if ($nr > MAX_INLINE_QUOTED) { + $$dst .= qq! / <a\nhref="#b">[scroll down]</a>!; + } + $$dst .= ")\n"; my $subj = $srch->subject_path($cur->header('Subject')); my $state = { |