diff --git a/builds/4chan-X.js b/builds/4chan-X.js index 927327c58..94a708152 100644 --- a/builds/4chan-X.js +++ b/builds/4chan-X.js @@ -4133,7 +4133,10 @@ if (Conf['Highlight Posts Quoting You']) { $.addClass(doc, 'highlight-you'); } - return this.text = Post.prototype.callbacks.push({ + if (Conf['Comment Expansion']) { + ExpandComment.callbacks.push(this.node); + } + return Post.prototype.callbacks.push({ name: 'Mark Quotes of You', cb: this.node }); diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index a58050100..220a5f0e5 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -4117,7 +4117,10 @@ if (Conf['Highlight Posts Quoting You']) { $.addClass(doc, 'highlight-you'); } - return this.text = Post.prototype.callbacks.push({ + if (Conf['Comment Expansion']) { + ExpandComment.callbacks.push(this.node); + } + return Post.prototype.callbacks.push({ name: 'Mark Quotes of You', cb: this.node }); diff --git a/builds/crx/script.js b/builds/crx/script.js index a44cb56b6..091cf3db3 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -4119,7 +4119,10 @@ if (Conf['Highlight Posts Quoting You']) { $.addClass(doc, 'highlight-you'); } - return this.text = Post.prototype.callbacks.push({ + if (Conf['Comment Expansion']) { + ExpandComment.callbacks.push(this.node); + } + return Post.prototype.callbacks.push({ name: 'Mark Quotes of You', cb: this.node }); diff --git a/src/Quotelinks/QuoteYou.coffee b/src/Quotelinks/QuoteYou.coffee index 3a0d13db3..31848acd2 100644 --- a/src/Quotelinks/QuoteYou.coffee +++ b/src/Quotelinks/QuoteYou.coffee @@ -8,8 +8,9 @@ QuoteYou = if Conf['Highlight Posts Quoting You'] $.addClass doc, 'highlight-you' - # \u00A0 is nbsp - @text = + if Conf['Comment Expansion'] + ExpandComment.callbacks.push @node + Post::callbacks.push name: 'Mark Quotes of You' cb: @node