Fix prettifiyng in quote previews.

This commit is contained in:
Nicolas Stepien 2012-05-27 16:27:31 +02:00
parent b059bb7fd1
commit 9b210f1501
2 changed files with 3 additions and 3 deletions

View File

@ -3270,6 +3270,7 @@
doc.documentElement.innerHTML = req.response;
node = doc.getElementById("p" + id);
qp.innerHTML = node.innerHTML;
Main.prettify();
post = {
el: qp
};
@ -3287,9 +3288,8 @@
Time.node(post);
}
if (Conf['File Info Formatting']) {
FileInfo.node(post);
return FileInfo.node(post);
}
return Main.prettify();
}
};

View File

@ -2478,6 +2478,7 @@ QuotePreview =
node = doc.getElementById "p#{id}"
qp.innerHTML = node.innerHTML
Main.prettify()
post =
el: qp
if fileInfo = $ '.fileInfo', qp
@ -2491,7 +2492,6 @@ QuotePreview =
Time.node post
if Conf['File Info Formatting']
FileInfo.node post
Main.prettify()
QuoteOP =
init: ->