From 9938ff29fbc845eada3c72391f4ba7648b3d4d4f Mon Sep 17 00:00:00 2001 From: Rodolphe Breard Date: Tue, 27 Nov 2012 18:37:30 +0100 Subject: [PATCH] auto-scroll on new text --- lib/tab.nsui.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/tab.nsui.js b/lib/tab.nsui.js index 6947dd2..622dc25 100644 --- a/lib/tab.nsui.js +++ b/lib/tab.nsui.js @@ -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; };