fix expanding comments
This commit is contained in:
parent
a82665c9c1
commit
3e9992f4ad
@ -750,9 +750,8 @@
|
||||
}
|
||||
quote.href = "res/" + href;
|
||||
}
|
||||
Main.prettify(node);
|
||||
post = {
|
||||
el: node,
|
||||
blockquote: node,
|
||||
threadId: threadID,
|
||||
quotes: quotes,
|
||||
backlinks: []
|
||||
@ -772,7 +771,8 @@
|
||||
if (Conf['Indicate Cross-thread Quotes']) {
|
||||
QuoteCT.node(post);
|
||||
}
|
||||
return $.replace(a.parentNode.parentNode, node);
|
||||
$.replace(a.parentNode.parentNode, node);
|
||||
return Main.prettify(node);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@ -577,12 +577,11 @@ ExpandComment =
|
||||
href = quote.getAttribute 'href'
|
||||
continue if href[0] is '/' # Cross-board quote
|
||||
quote.href = "res/#{href}" # Fix pathnames
|
||||
Main.prettify node
|
||||
post =
|
||||
el: node
|
||||
threadId: threadID
|
||||
quotes: quotes
|
||||
backlinks: []
|
||||
blockquote: node
|
||||
threadId: threadID
|
||||
quotes: quotes
|
||||
backlinks: []
|
||||
if Conf['Resurrect Quotes']
|
||||
Quotify.node post
|
||||
if Conf['Quote Preview']
|
||||
@ -594,6 +593,7 @@ ExpandComment =
|
||||
if Conf['Indicate Cross-thread Quotes']
|
||||
QuoteCT.node post
|
||||
$.replace a.parentNode.parentNode, node
|
||||
Main.prettify node
|
||||
|
||||
ExpandThread =
|
||||
init: ->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user