diff --git a/src/Quotelinks/QuoteOP.coffee b/src/Quotelinks/QuoteOP.coffee index 4b39298a8..12fec65dc 100644 --- a/src/Quotelinks/QuoteOP.coffee +++ b/src/Quotelinks/QuoteOP.coffee @@ -12,6 +12,7 @@ QuoteOP = 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 # rm (OP) from cross-thread quotes. if @isClone and @thread.fullID in quotes @@ -21,7 +22,7 @@ QuoteOP = {fullID} = (if @isClone then @context else @).thread # add (OP) to quotes quoting this context's OP. return unless fullID in quotes - for quotelink in @nodes.quotelinks + for quotelink in quotelinks {boardID, postID} = Get.postDataFromLink quotelink if "#{boardID}.#{postID}" is fullID $.add quotelink, $.tn QuoteOP.text