From 63cd1a31b3a5263ff5389a587e0531f1309d83f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= <timwolla@arcor.de> Date: Mon, 5 Dec 2011 14:58:01 +0100 Subject: [PATCH] Scroll the messages down automatically --- file/js/TimWolla.WCF.Chat.js | 1 + 1 file changed, 1 insertion(+) diff --git a/file/js/TimWolla.WCF.Chat.js b/file/js/TimWolla.WCF.Chat.js index 52c191d..d9fb759 100644 --- a/file/js/TimWolla.WCF.Chat.js +++ b/file/js/TimWolla.WCF.Chat.js @@ -121,6 +121,7 @@ if (typeof TimWolla.WCF == 'undefined') TimWolla.WCF = {}; $('.chatMessage ul').append(li); } + $('.chatMessage').animate({scrollTop: $('.chatMessage ul').height()}, 10000); } }; })(jQuery, document); \ No newline at end of file