Fix Comment Expansion x Quote Resurrection compatibility.

This commit is contained in:
Nicolas Stepien 2012-03-12 03:24:24 +01:00
parent da738c93b9
commit 0fe4287356
2 changed files with 8 additions and 6 deletions

View File

@ -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);
}
};

View File

@ -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: ->