on update only jump to bottom if we actually got a new message
This commit is contained in:
parent
bbe93d0e1d
commit
5b55726a93
@ -175,10 +175,9 @@ function update_chats(chats) {
|
||||
$('#chatLineHolder').append(newNode);
|
||||
$(".autotime").timeago();
|
||||
|
||||
});
|
||||
var elem = document.getElementById('chatTopBar');
|
||||
elem.scrollTop = elem.scrollHeight;
|
||||
|
||||
var elem = document.getElementById('chatTopBar');
|
||||
elem.scrollTop = elem.scrollHeight;
|
||||
});
|
||||
}
|
||||
|
||||
function chatJotGetLink() {
|
||||
|
Reference in New Issue
Block a user