Fix failure in ef3ee6afa2af623e45b541f824aa0ce1791d1938 to remove catalog-postContainer and catalog-post on thread rebuild.

This commit is contained in:
ccd0 2016-09-27 20:40:43 -07:00
parent 8b05eb326f
commit 65b12de90c

View File

@ -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'