scrolling down

master
Aevann 2023-08-20 22:31:06 +03:00
parent c6b7893dce
commit 1537805ea5
1 changed files with 6 additions and 0 deletions

View File

@ -169,6 +169,9 @@ socket.on('speak', function(json) {
setTimeout(function () {
box.scrollTo(0, box.scrollHeight)
}, 200);
setTimeout(function () {
box.scrollTo(0, box.scrollHeight)
}, 500);
}
})
@ -200,6 +203,9 @@ function send() {
setTimeout(function () {
box.scrollTo(0, box.scrollHeight)
}, 200);
setTimeout(function () {
box.scrollTo(0, box.scrollHeight)
}, 500);
}
}