These properties should be copied to clones.

This commit is contained in:
ccd0 2019-07-18 22:53:54 -07:00
parent 33d179244b
commit 6f13f41b72

View File

@ -2,7 +2,7 @@ Post.Clone = class extends Post
isClone: true
constructor: (@origin, @context, contractThumb) ->
for key in ['ID', 'fullID', 'board', 'thread', 'info', 'quotes', 'isReply']
for key in ['ID', 'threadID', 'boardID', 'siteID', 'fullID', 'board', 'thread', 'info', 'quotes', 'isReply']
# Copy or point to the origin's key value.
@[key] = @origin[key]