QuoteYou = init: -> return if g.VIEW is 'catalog' or !Conf['Mark Quotes of You'] or !Conf['Quick Reply'] # \u00A0 is nbsp @text = '\u00A0(You)' Post::callbacks.push name: 'Mark Quotes of You' cb: @node 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 return