Don't try to parse incompletely loaded posts. #547, #652, #675

This commit is contained in:
ccd0 2016-01-23 12:27:50 -08:00
parent 0b67863b84
commit 3e5a3cc8d7

View File

@ -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