Fix page number code.
Fixes bug from 04fa72aed9eba7658966bb242e0136794d1e611b.
This commit is contained in:
parent
64de9f69a2
commit
8e450622b7
@ -323,8 +323,8 @@ Index =
|
|||||||
thread = new Thread threadData.no, g.BOARD
|
thread = new Thread threadData.no, g.BOARD
|
||||||
threads.push thread
|
threads.push thread
|
||||||
Index.nodes.push threadRoot
|
Index.nodes.push threadRoot
|
||||||
continue if thread.ID of thread.posts
|
unless thread.ID of thread.posts
|
||||||
posts.push new Post $('.opContainer', threadRoot), thread, g.BOARD
|
posts.push new Post $('.opContainer', threadRoot), thread, g.BOARD
|
||||||
thread.setPage i // Index.threadsNumPerPage + 1
|
thread.setPage i // Index.threadsNumPerPage + 1
|
||||||
catch err
|
catch err
|
||||||
# Skip posts that we failed to parse.
|
# Skip posts that we failed to parse.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user