Fix Comment Expansion x Quote Resurrection compatibility.
This commit is contained in:
parent
da738c93b9
commit
0fe4287356
@ -754,15 +754,16 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
post = {
|
post = {
|
||||||
|
el: bq.parentNode,
|
||||||
threadId: threadID,
|
threadId: threadID,
|
||||||
quotes: quotes,
|
quotes: bq.getElementsByClassName('quotelink'),
|
||||||
backlinks: []
|
backlinks: []
|
||||||
};
|
};
|
||||||
|
if (conf['Resurrect Quotes']) DeadQuotes.node(post);
|
||||||
if (conf['Quote Preview']) QuotePreview.node(post);
|
if (conf['Quote Preview']) QuotePreview.node(post);
|
||||||
if (conf['Quote Inline']) QuoteInline.node(post);
|
if (conf['Quote Inline']) QuoteInline.node(post);
|
||||||
if (conf['Indicate OP quote']) QuoteOP.node(post);
|
if (conf['Indicate OP quote']) QuoteOP.node(post);
|
||||||
if (conf['Indicate Cross-thread Quotes']) QuoteCT.node(post);
|
if (conf['Indicate Cross-thread Quotes']) return QuoteCT.node(post);
|
||||||
if (conf['Resurrect Quotes']) return DeadQuotes.node(post);
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -652,9 +652,12 @@ ExpandComment =
|
|||||||
if quote.getAttribute('href') is quote.hash
|
if quote.getAttribute('href') is quote.hash
|
||||||
quote.pathname = "/#{g.BOARD}/res/#{threadID}"
|
quote.pathname = "/#{g.BOARD}/res/#{threadID}"
|
||||||
post =
|
post =
|
||||||
|
el: bq.parentNode
|
||||||
threadId: threadID
|
threadId: threadID
|
||||||
quotes: quotes
|
quotes: bq.getElementsByClassName 'quotelink'
|
||||||
backlinks: []
|
backlinks: []
|
||||||
|
if conf['Resurrect Quotes']
|
||||||
|
DeadQuotes.node post
|
||||||
if conf['Quote Preview']
|
if conf['Quote Preview']
|
||||||
QuotePreview.node post
|
QuotePreview.node post
|
||||||
if conf['Quote Inline']
|
if conf['Quote Inline']
|
||||||
@ -663,8 +666,6 @@ ExpandComment =
|
|||||||
QuoteOP.node post
|
QuoteOP.node post
|
||||||
if conf['Indicate Cross-thread Quotes']
|
if conf['Indicate Cross-thread Quotes']
|
||||||
QuoteCT.node post
|
QuoteCT.node post
|
||||||
if conf['Resurrect Quotes']
|
|
||||||
DeadQuotes.node post
|
|
||||||
|
|
||||||
ExpandThread =
|
ExpandThread =
|
||||||
init: ->
|
init: ->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user