From d78f1003099cb094b9eff4c1e13ac5c31fb410bc Mon Sep 17 00:00:00 2001 From: ccd0 Date: Tue, 7 May 2019 17:58:06 -0700 Subject: [PATCH] Fix conflict with thread-stats element on some vichan boards. --- src/main/Main.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/Main.coffee b/src/main/Main.coffee index ae82fa2ba..f9cba6a83 100644 --- a/src/main/Main.coffee +++ b/src/main/Main.coffee @@ -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