Fix failure in ef3ee6afa2af623e45b541f824aa0ce1791d1938 to remove catalog-postContainer and catalog-post on thread rebuild.
This commit is contained in:
parent
8b05eb326f
commit
65b12de90c
@ -173,7 +173,10 @@ Build =
|
|||||||
thread: (thread, data) ->
|
thread: (thread, data) ->
|
||||||
if (root = thread.nodes.root)
|
if (root = thread.nodes.root)
|
||||||
$.rmAll 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
|
else
|
||||||
thread.nodes.root = root = $.el 'div',
|
thread.nodes.root = root = $.el 'div',
|
||||||
className: 'thread'
|
className: 'thread'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user