Re-add .yourPost per @RiDeag

This commit is contained in:
Jordan Bates 2013-04-25 04:59:20 -07:00
parent fb8d765e9b
commit e31944501b
4 changed files with 13 additions and 0 deletions

View File

@ -8776,6 +8776,9 @@
if (this.isClone) {
return;
}
if (this.info.yours) {
$.addClass(this.nodes.root, 'yourPost');
}
if (!(quotes = this.quotes).length) {
return;
}

View File

@ -8797,6 +8797,9 @@
if (this.isClone) {
return;
}
if (this.info.yours) {
$.addClass(this.nodes.root, 'yourPost');
}
if (!(quotes = this.quotes).length) {
return;
}

View File

@ -8642,6 +8642,9 @@
if (this.isClone) {
return;
}
if (this.info.yours) {
$.addClass(this.nodes.root, 'yourPost');
}
if (!(quotes = this.quotes).length) {
return;
}

View File

@ -10,6 +10,10 @@ QuoteYou =
node: ->
# Stop there if it's a clone.
return if @isClone
if @info.yours
$.addClass @nodes.root, 'yourPost'
# Stop there if there's no quotes in that post.
return unless (quotes = @quotes).length
{quotelinks} = @nodes