From 2263b02b651bdca014b4ae5a8dd7098a8ded6313 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Tue, 9 Apr 2013 08:54:41 +0200 Subject: [PATCH] Fix #999 --- src/features.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features.coffee b/src/features.coffee index f39ac2b55..e3cd4dbd4 100644 --- a/src/features.coffee +++ b/src/features.coffee @@ -3456,7 +3456,7 @@ ExpandComment = post = Get.postFromNode @ ExpandComment.expand post expand: (post) -> - if post.nodes.longComment + if post.nodes.longComment and !post.nodes.longComment.parentNode $.replace post.nodes.shortComment, post.nodes.longComment post.nodes.comment = post.nodes.longComment return