auto-scroll on new text
This commit is contained in:
parent
10ea08b41d
commit
9938ff29fb
1 changed files with 1 additions and 0 deletions
|
@ -128,4 +128,5 @@ Tab.prototype.setActive = function() {
|
|||
Tab.prototype.appendText = function(text) {
|
||||
// TODO: flush text
|
||||
this.chat_log.innerHTML += text;
|
||||
this.chat_log.scrollTop = 42000;
|
||||
};
|
||||
|
|
Reference in a new issue