Scroll to bottom on window focus
This commit is contained in:
parent
354edb1d47
commit
ff707153b2
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue