about summary refs log tree commit homepage
path: root/lib/PublicInbox/Feed.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/Feed.pm')
-rw-r--r--lib/PublicInbox/Feed.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/PublicInbox/Feed.pm b/lib/PublicInbox/Feed.pm
index f25dd267..b15fc3a0 100644
--- a/lib/PublicInbox/Feed.pm
+++ b/lib/PublicInbox/Feed.pm
@@ -50,7 +50,8 @@ sub generate_html_index {
 }
 
 sub new_html_i {
-        my ($nr, $ctx) = @_;
+        my ($ctx) = @_;
+        return $ctx->html_top if exists $ctx->{-html_tip};
         my $msgs = $ctx->{msgs};
         while (my $smsg = shift @$msgs) {
                 my $eml = $ctx->{-inbox}->smsg_eml($smsg) or next;