From 3e5a3cc8d7c208cdbfd5c1223eb66790f783f7a2 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sat, 23 Jan 2016 12:27:50 -0800 Subject: [PATCH] Don't try to parse incompletely loaded posts. #547, #652, #675 --- src/General/Main.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/General/Main.coffee b/src/General/Main.coffee index 832f71071..44c216202 100644 --- a/src/General/Main.coffee +++ b/src/General/Main.coffee @@ -231,7 +231,7 @@ Main = for threadRoot in $$ '.board > .thread', board thread = new Thread +threadRoot.id[1..], g.BOARD threads.push thread - for postRoot in $$ '.thread > .postContainer', threadRoot + for postRoot in $$('.thread > .postContainer', threadRoot) when $('.postMessage', postRoot) try posts.push new Post postRoot, thread, g.BOARD catch err