From 8e450622b79dbbc5f33f5123b41f19781d99a4a2 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sun, 14 Sep 2014 11:57:26 -0700 Subject: [PATCH] Fix page number code. Fixes bug from 04fa72aed9eba7658966bb242e0136794d1e611b. --- src/General/Index.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/General/Index.coffee b/src/General/Index.coffee index 07792da09..cee9b5120 100644 --- a/src/General/Index.coffee +++ b/src/General/Index.coffee @@ -323,8 +323,8 @@ Index = thread = new Thread threadData.no, g.BOARD threads.push thread Index.nodes.push threadRoot - continue if thread.ID of thread.posts - posts.push new Post $('.opContainer', threadRoot), thread, g.BOARD + unless thread.ID of thread.posts + posts.push new Post $('.opContainer', threadRoot), thread, g.BOARD thread.setPage i // Index.threadsNumPerPage + 1 catch err # Skip posts that we failed to parse.