Fix seaweedchan/4chan-x/issues/54

This commit is contained in:
Zixaphir 2013-05-10 04:45:52 -07:00
parent 5a186a165f
commit f256ff8538
4 changed files with 15 additions and 5 deletions

View File

@ -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
});

View File

@ -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
});

View File

@ -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
});

View File

@ -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