Re-add .yourPost per @RiDeag
This commit is contained in:
parent
fb8d765e9b
commit
e31944501b
@ -8776,6 +8776,9 @@
|
||||
if (this.isClone) {
|
||||
return;
|
||||
}
|
||||
if (this.info.yours) {
|
||||
$.addClass(this.nodes.root, 'yourPost');
|
||||
}
|
||||
if (!(quotes = this.quotes).length) {
|
||||
return;
|
||||
}
|
||||
|
||||
@ -8797,6 +8797,9 @@
|
||||
if (this.isClone) {
|
||||
return;
|
||||
}
|
||||
if (this.info.yours) {
|
||||
$.addClass(this.nodes.root, 'yourPost');
|
||||
}
|
||||
if (!(quotes = this.quotes).length) {
|
||||
return;
|
||||
}
|
||||
|
||||
@ -8642,6 +8642,9 @@
|
||||
if (this.isClone) {
|
||||
return;
|
||||
}
|
||||
if (this.info.yours) {
|
||||
$.addClass(this.nodes.root, 'yourPost');
|
||||
}
|
||||
if (!(quotes = this.quotes).length) {
|
||||
return;
|
||||
}
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user