This commit is contained in:
j3d1 2022-09-24 07:48:47 +02:00
parent 9c5fb65a90
commit 1263d7836f
6 changed files with 105 additions and 35 deletions

View file

@ -374,6 +374,8 @@
for (var i = 0; i < len; i++)
str += dv.getChar(4 + i);
syslog.innerHTML = syslog.innerHTML.slice(0, offset) + str;
const scrollingElement = (document.scrollingElement || document.body);
scrollingElement.scrollTop = scrollingElement.scrollHeight;
} else
console.log('unknown command', cmd, val);
}