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: ->
|
node: ->
|
||||||
# Stop there if it's a clone.
|
# Stop there if it's a clone.
|
||||||
return if @isClone
|
return if @isClone
|
||||||
# Stop there if there's no quotes in that post.
|
for quotelink in quotelinks when QR.db.get Get.postDataFromLink quotelink
|
||||||
return unless (quotes = @quotes).length
|
$.add quotelink, $.tn QuoteYou.text
|
||||||
{quotelinks} = @nodes
|
|
||||||
|
|
||||||
for quotelink in quotelinks
|
|
||||||
if QR.db.get Get.postDataFromLink quotelink
|
|
||||||
$.add quotelink, $.tn QuoteYou.text
|
|
||||||
return
|
return
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user