diff --git a/client/js/chat.js b/client/js/chat.js index 3d00805..52670e2 100644 --- a/client/js/chat.js +++ b/client/js/chat.js @@ -186,7 +186,10 @@ $(function() { $("#main .active").removeClass("active"); var window = $(target) .css("z-index", z++) - .addClass("active"); + .addClass("active") + .find(".chat") + .scrollToBottom() + .end(); if (!touchDevice) { window.find("input").focus();