mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-21 12:11:28 +00:00
reverse direction of debug box
This commit is contained in:
@@ -691,12 +691,12 @@ function toggleDispRead() {
|
||||
function debug(msg) {
|
||||
var c = document.getElementById('debug_output');
|
||||
if (c && c.style.display == "block") {
|
||||
while (c.firstChild != 'undefined' && c.childNodes.length > 15) {
|
||||
c.removeChild(c.firstChild);
|
||||
while (c.lastChild != 'undefined' && c.childNodes.length > 20) {
|
||||
c.removeChild(c.lastChild);
|
||||
}
|
||||
|
||||
var d = new Date();
|
||||
var ts = d.getHours() + ":" + d.getMinutes() + ":" + d.getSeconds();
|
||||
c.innerHTML = c.innerHTML + "<li>[" + ts + "] " + msg + "</li>";
|
||||
c.innerHTML = "<li>[" + ts + "] " + msg + "</li>" + c.innerHTML;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user