From 65b12de90cc39ed1ae412714781db27fc33e2ce2 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Tue, 27 Sep 2016 20:40:43 -0700 Subject: [PATCH] Fix failure in ef3ee6afa2af623e45b541f824aa0ce1791d1938 to remove catalog-postContainer and catalog-post on thread rebuild. --- src/General/Build.coffee | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/General/Build.coffee b/src/General/Build.coffee index 1408c5dde..33beecfe6 100644 --- a/src/General/Build.coffee +++ b/src/General/Build.coffee @@ -173,7 +173,10 @@ Build = thread: (thread, data) -> if (root = thread.nodes.root) $.rmAll root - thread.nodes.placeholder = null + if thread.nodes.placeholder + thread.nodes.placeholder = null + $.rmClass thread.OP.nodes.root, 'catalog-postContainer' + $.rmClass thread.OP.nodes.post, 'catalog-post' else thread.nodes.root = root = $.el 'div', className: 'thread'