Remove some useless code in QuoteCT.
This commit is contained in:
parent
2f13855508
commit
46c50baaba
@ -10,12 +10,9 @@ QuoteCT =
|
||||
node: ->
|
||||
# Stop there if it's a clone of a post in the same thread.
|
||||
return if @isClone and @thread is @context.thread
|
||||
# Stop there if there's no quotes in that post.
|
||||
return unless (quotes = @quotes).length
|
||||
{quotelinks} = @nodes
|
||||
|
||||
{board, thread} = if @isClone then @context else @
|
||||
for quotelink in quotelinks
|
||||
for quotelink in @nodes.quotelinks
|
||||
{boardID, threadID} = Get.postDataFromLink quotelink
|
||||
continue unless threadID # deadlink
|
||||
if @isClone
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user