Skip to content

Commit

Permalink
fix: comment not rendered when comment size is 1
Browse files Browse the repository at this point in the history
  • Loading branch information
xpadev-net committed Aug 14, 2024
1 parent c2b5e62 commit 2d7a541
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ class NiconiComments {
right: [],
};
this.lastVpos = -1;
this.processedCommentIndex = 0;
this.processedCommentIndex = -1;

this.comments = this.preRendering(parsedData);

Expand Down

0 comments on commit 2d7a541

Please sign in to comment.