Scroll to bottom on window focus
This commit is contained in:
parent
354edb1d47
commit
ff707153b2
@ -186,7 +186,10 @@ $(function() {
|
|||||||
$("#main .active").removeClass("active");
|
$("#main .active").removeClass("active");
|
||||||
var window = $(target)
|
var window = $(target)
|
||||||
.css("z-index", z++)
|
.css("z-index", z++)
|
||||||
.addClass("active");
|
.addClass("active")
|
||||||
|
.find(".chat")
|
||||||
|
.scrollToBottom()
|
||||||
|
.end();
|
||||||
|
|
||||||
if (!touchDevice) {
|
if (!touchDevice) {
|
||||||
window.find("input").focus();
|
window.find("input").focus();
|
||||||
|
Loading…
Reference in New Issue
Block a user