diff --git a/src/classes/Post.Clone.coffee b/src/classes/Post.Clone.coffee index 9eafe6422..154348b62 100644 --- a/src/classes/Post.Clone.coffee +++ b/src/classes/Post.Clone.coffee @@ -16,14 +16,14 @@ Post.Clone = class extends Post node.id = Post.Clone.prefix + node.id Post.Clone.prefix++ - @nodes = @parseNodes root - # Remove inlined posts inside of this post. - for inline in $$ '.inline', @nodes.post + for inline in $$ '.inline', root $.rm inline - for inlined in $$ '.inlined', @nodes.post + for inlined in $$ '.inlined', root $.rmClass inlined, 'inlined' + @nodes = @parseNodes root + root.hidden = false # post hiding $.rmClass root, 'forwarded' # quote inlining $.rmClass @nodes.post, 'highlight' # keybind navigation, ID highlighting