From 2d7a5416dd0e5c8d9cb885f10c459c5768b5c1cd Mon Sep 17 00:00:00 2001 From: XPA Date: Thu, 15 Aug 2024 01:01:27 +0900 Subject: [PATCH] fix: comment not rendered when comment size is 1 --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 7e7a85d5..b8ced16c 100755 --- a/src/main.ts +++ b/src/main.ts @@ -141,7 +141,7 @@ class NiconiComments { right: [], }; this.lastVpos = -1; - this.processedCommentIndex = 0; + this.processedCommentIndex = -1; this.comments = this.preRendering(parsedData);