mirror of
https://github.com/thelounge/thelounge.git
synced 2024-06-02 13:52:17 +02:00
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 a new issue