Shorter QuoteYou code.
Not sure why I had written it that way.
This commit is contained in:
parent
79aa6eb975
commit
1e439167d7
@ -10,11 +10,6 @@ QuoteYou =
|
||||
node: ->
|
||||
# Stop there if it's a clone.
|
||||
return if @isClone
|
||||
# Stop there if there's no quotes in that post.
|
||||
return unless (quotes = @quotes).length
|
||||
{quotelinks} = @nodes
|
||||
|
||||
for quotelink in quotelinks
|
||||
if QR.db.get Get.postDataFromLink quotelink
|
||||
$.add quotelink, $.tn QuoteYou.text
|
||||
for quotelink in quotelinks when QR.db.get Get.postDataFromLink quotelink
|
||||
$.add quotelink, $.tn QuoteYou.text
|
||||
return
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user