Skip to content

Commit

Permalink
Merge pull request #1686 from sgsabbage/1651-quickening-reply-update-…
Browse files Browse the repository at this point in the history
…comment-count

Fixes #1651 - show hidden readlink on all pages
  • Loading branch information
zorkian committed Mar 25, 2016
2 parents b7bf708 + 18df79a commit f108584
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions cgi-bin/LJ/Entry.pm
Expand Up @@ -718,6 +718,7 @@ sub comment_info {
screened => $has_screened,
screened_count => $screenedcount,
show_readlink => $comments_enabled && ( $replycount || $has_screened ),
show_readlink_hidden => $comments_enabled,
show_postlink => $comments_enabled,
};
}
Expand Down
1 change: 0 additions & 1 deletion cgi-bin/LJ/S2/FriendsPage.pm
Expand Up @@ -237,7 +237,6 @@ sub FriendsPage
my $entry = Entry_from_entryobj( $u, $entry_obj, $opts );

$entry->{_ymd} = join('-', map { $entry->{'time'}->{$_} } qw(year month day));
$entry->{comments}->{show_readlink_hidden} = 1;

push @{$p->{'entries'}}, $entry;
$eventnum++;
Expand Down

0 comments on commit f108584

Please sign in to comment.