fix (You) in backlinks
This commit is contained in:
parent
a7695e3f4b
commit
626d701756
@ -24,10 +24,11 @@ QuoteBacklink =
|
|||||||
cb: @secondNode
|
cb: @secondNode
|
||||||
firstNode: ->
|
firstNode: ->
|
||||||
return if @isClone or !@quotes.length
|
return if @isClone or !@quotes.length
|
||||||
|
markYours = Conf['Quick Reply'] and Conf['Mark Quotes of You'] and QR.db.get {boardID: @board.ID, threadID: @thread.ID, postID: @ID}
|
||||||
a = $.el 'a',
|
a = $.el 'a',
|
||||||
href: "/#{@board}/res/#{@thread}#p#{@}"
|
href: "/#{@board}/res/#{@thread}#p#{@}"
|
||||||
className: if @isHidden then 'filtered backlink' else 'backlink'
|
className: if @isHidden then 'filtered backlink' else 'backlink'
|
||||||
textContent: (QuoteBacklink.funk @ID) + (if Conf['Mark Quotes of You'] and @info.yours then '\u00A0(You)' else '')
|
textContent: (QuoteBacklink.funk @ID) + (if markYours then '\u00A0(You)' else '')
|
||||||
for quote in @quotes
|
for quote in @quotes
|
||||||
containers = [QuoteBacklink.getContainer quote]
|
containers = [QuoteBacklink.getContainer quote]
|
||||||
if (post = g.posts[quote]) and post.nodes.backlinkContainer
|
if (post = g.posts[quote]) and post.nodes.backlinkContainer
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user