From 49d9060891e5885519cdb0f5f698e62e8c045a8a Mon Sep 17 00:00:00 2001 From: Kuba Suder Date: Fri, 23 Feb 2024 04:09:42 +0200 Subject: [PATCH] fix for error when a comment has been deleted --- post_component.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/post_component.js b/post_component.js index fb9661b..92b35f8 100644 --- a/post_component.js +++ b/post_component.js @@ -121,6 +121,8 @@ class PostComponent { content.appendChild(element); } else { for (let reply of this.post.replies) { + if (reply.missing && !reply.blocked) { continue } + let component = new PostComponent(reply, this.root); content.appendChild(component.buildElement('thread')); } -- 2.51.2