fix expanding comments

This commit is contained in:
James Campos 2012-05-28 04:53:02 -07:00 committed by Nicolas Stepien
parent a82665c9c1
commit 3e9992f4ad
2 changed files with 8 additions and 8 deletions

View File

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

View File

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