Fix #1095.
This commit is contained in:
parent
7ad882ff2d
commit
aace44479e
@ -84,7 +84,7 @@ ExpandThread =
|
||||
if post = thread.posts[reply.no]
|
||||
nodes.push post.nodes.root
|
||||
continue
|
||||
node = Build.postFromObject reply, thread.board
|
||||
node = Build.postFromObject reply, thread.board.ID
|
||||
post = new Post node, thread, thread.board
|
||||
link = $ 'a[title="Highlight this post"]', node
|
||||
link.href = "res/#{thread}#p#{post}"
|
||||
|
||||
@ -210,7 +210,7 @@ ThreadUpdater =
|
||||
continue if num <= ThreadUpdater.lastPost
|
||||
# Insert new posts, not older ones.
|
||||
count++
|
||||
node = Build.postFromObject postObject, ThreadUpdater.thread.board
|
||||
node = Build.postFromObject postObject, ThreadUpdater.thread.board.ID
|
||||
nodes.push node
|
||||
posts.push new Post node, ThreadUpdater.thread, ThreadUpdater.thread.board
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user