Fix conflict with thread-stats element on some vichan boards.

This commit is contained in:
ccd0 2019-05-07 17:58:06 -07:00
parent 69a56f9e05
commit d78f100309

View File

@ -354,7 +354,7 @@ Main =
else
g.BOARD
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.nodes.root = threadRoot
threads.push thread