diff --git a/builds/4chan-X.js b/builds/4chan-X.js index e772d9d23..db915ae74 100644 --- a/builds/4chan-X.js +++ b/builds/4chan-X.js @@ -3594,7 +3594,7 @@ a = $.el('a', { href: "/" + this.board + "/res/" + this.thread + "#p" + this, className: this.isHidden ? 'filtered backlink' : 'backlink', - textContent: (QuoteBacklink.funk(this.ID)) + (Conf['Mark Quotes of You'] && this.info.yours ? QuoteYou.text : '') + textContent: (QuoteBacklink.funk(this.ID)) + (Conf['Mark Quotes of You'] && this.info.yours ? '\u00A0(You)' : '') }); _ref = this.quotes; for (_i = 0, _len = _ref.length; _i < _len; _i++) { diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index c3e1e2d82..36966789e 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -3590,7 +3590,7 @@ a = $.el('a', { href: "/" + this.board + "/res/" + this.thread + "#p" + this, className: this.isHidden ? 'filtered backlink' : 'backlink', - textContent: (QuoteBacklink.funk(this.ID)) + (Conf['Mark Quotes of You'] && this.info.yours ? QuoteYou.text : '') + textContent: (QuoteBacklink.funk(this.ID)) + (Conf['Mark Quotes of You'] && this.info.yours ? '\u00A0(You)' : '') }); _ref = this.quotes; for (_i = 0, _len = _ref.length; _i < _len; _i++) { diff --git a/builds/crx/script.js b/builds/crx/script.js index 331c9b8ab..5734caa7d 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -3592,7 +3592,7 @@ a = $.el('a', { href: "/" + this.board + "/res/" + this.thread + "#p" + this, className: this.isHidden ? 'filtered backlink' : 'backlink', - textContent: (QuoteBacklink.funk(this.ID)) + (Conf['Mark Quotes of You'] && this.info.yours ? QuoteYou.text : '') + textContent: (QuoteBacklink.funk(this.ID)) + (Conf['Mark Quotes of You'] && this.info.yours ? '\u00A0(You)' : '') }); _ref = this.quotes; for (_i = 0, _len = _ref.length; _i < _len; _i++) { diff --git a/src/Quotelinks/QuoteBacklink.coffee b/src/Quotelinks/QuoteBacklink.coffee index a974babab..91bbb6e84 100644 --- a/src/Quotelinks/QuoteBacklink.coffee +++ b/src/Quotelinks/QuoteBacklink.coffee @@ -27,7 +27,7 @@ QuoteBacklink = a = $.el 'a', href: "/#{@board}/res/#{@thread}#p#{@}" className: if @isHidden then 'filtered backlink' else 'backlink' - textContent: (QuoteBacklink.funk @ID) + (if Conf['Mark Quotes of You'] and @info.yours then QuoteYou.text else '') + textContent: (QuoteBacklink.funk @ID) + (if Conf['Mark Quotes of You'] and @info.yours then '\u00A0(You)' else '') for quote in @quotes containers = [QuoteBacklink.getContainer quote] if (post = g.posts[quote]) and post.nodes.backlinkContainer