From e6bd4157493da0abe95c3d0371b5a8f010833413 Mon Sep 17 00:00:00 2001 From: Xylight Date: Sun, 13 Oct 2024 14:36:43 -0700 Subject: [PATCH] misc: add #comments for comments button --- .../components/lemmy/comment/Comment.svelte | 2 +- .../comment/CommentListVirtualizer.svelte | 3 + .../components/lemmy/post/PostActions.svelte | 2 +- .../post/[instance]/[id=integer]/+page.svelte | 3 +- .../post/[instance]/[id=integer]/+page.ts | 55 ++++++++++--------- 5 files changed, 35 insertions(+), 30 deletions(-) diff --git a/src/lib/components/lemmy/comment/Comment.svelte b/src/lib/components/lemmy/comment/Comment.svelte index a2d7bfa8..856bb25d 100644 --- a/src/lib/components/lemmy/comment/Comment.svelte +++ b/src/lib/components/lemmy/comment/Comment.svelte @@ -107,7 +107,7 @@ class="py-3 relative {node.comment_view.comment.distinguished ? ' text-primary-900 dark:text-primary-100' : ''} {highlight} {$$props.class}" - id="#{node.comment_view.comment.id.toString()}" + id={node.comment_view.comment.id.toString()} >