Re-add .yourPost per @RiDeag
This commit is contained in:
parent
fb8d765e9b
commit
e31944501b
@ -8776,6 +8776,9 @@
|
|||||||
if (this.isClone) {
|
if (this.isClone) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (this.info.yours) {
|
||||||
|
$.addClass(this.nodes.root, 'yourPost');
|
||||||
|
}
|
||||||
if (!(quotes = this.quotes).length) {
|
if (!(quotes = this.quotes).length) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8797,6 +8797,9 @@
|
|||||||
if (this.isClone) {
|
if (this.isClone) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (this.info.yours) {
|
||||||
|
$.addClass(this.nodes.root, 'yourPost');
|
||||||
|
}
|
||||||
if (!(quotes = this.quotes).length) {
|
if (!(quotes = this.quotes).length) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8642,6 +8642,9 @@
|
|||||||
if (this.isClone) {
|
if (this.isClone) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (this.info.yours) {
|
||||||
|
$.addClass(this.nodes.root, 'yourPost');
|
||||||
|
}
|
||||||
if (!(quotes = this.quotes).length) {
|
if (!(quotes = this.quotes).length) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -10,6 +10,10 @@ QuoteYou =
|
|||||||
node: ->
|
node: ->
|
||||||
# Stop there if it's a clone.
|
# Stop there if it's a clone.
|
||||||
return if @isClone
|
return if @isClone
|
||||||
|
|
||||||
|
if @info.yours
|
||||||
|
$.addClass @nodes.root, 'yourPost'
|
||||||
|
|
||||||
# Stop there if there's no quotes in that post.
|
# Stop there if there's no quotes in that post.
|
||||||
return unless (quotes = @quotes).length
|
return unless (quotes = @quotes).length
|
||||||
{quotelinks} = @nodes
|
{quotelinks} = @nodes
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user