Fix conflict with thread-stats element on some vichan boards.
This commit is contained in:
parent
69a56f9e05
commit
d78f100309
@ -354,7 +354,7 @@ Main =
|
|||||||
else
|
else
|
||||||
g.BOARD
|
g.BOARD
|
||||||
threadID = +threadRoot.id.match(/\d*$/)[0]
|
threadID = +threadRoot.id.match(/\d*$/)[0]
|
||||||
return if boardObj.threads[threadID]?.nodes.root
|
return if !threadID or boardObj.threads[threadID]?.nodes.root
|
||||||
thread = new Thread threadID, boardObj
|
thread = new Thread threadID, boardObj
|
||||||
thread.nodes.root = threadRoot
|
thread.nodes.root = threadRoot
|
||||||
threads.push thread
|
threads.push thread
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user