Fix prettifiyng in quote previews.
This commit is contained in:
parent
b059bb7fd1
commit
9b210f1501
@ -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();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@ -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: ->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user