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