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