Fix prettifiyng in quote previews.
This commit is contained in:
parent
b059bb7fd1
commit
9b210f1501
@ -3270,6 +3270,7 @@
|
|||||||
doc.documentElement.innerHTML = req.response;
|
doc.documentElement.innerHTML = req.response;
|
||||||
node = doc.getElementById("p" + id);
|
node = doc.getElementById("p" + id);
|
||||||
qp.innerHTML = node.innerHTML;
|
qp.innerHTML = node.innerHTML;
|
||||||
|
Main.prettify();
|
||||||
post = {
|
post = {
|
||||||
el: qp
|
el: qp
|
||||||
};
|
};
|
||||||
@ -3287,9 +3288,8 @@
|
|||||||
Time.node(post);
|
Time.node(post);
|
||||||
}
|
}
|
||||||
if (Conf['File Info Formatting']) {
|
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}"
|
node = doc.getElementById "p#{id}"
|
||||||
qp.innerHTML = node.innerHTML
|
qp.innerHTML = node.innerHTML
|
||||||
|
Main.prettify()
|
||||||
post =
|
post =
|
||||||
el: qp
|
el: qp
|
||||||
if fileInfo = $ '.fileInfo', qp
|
if fileInfo = $ '.fileInfo', qp
|
||||||
@ -2491,7 +2492,6 @@ QuotePreview =
|
|||||||
Time.node post
|
Time.node post
|
||||||
if Conf['File Info Formatting']
|
if Conf['File Info Formatting']
|
||||||
FileInfo.node post
|
FileInfo.node post
|
||||||
Main.prettify()
|
|
||||||
|
|
||||||
QuoteOP =
|
QuoteOP =
|
||||||
init: ->
|
init: ->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user