mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-15 02:21:21 +01:00
No scroll if user is not fully scrolled down in messages
This commit is contained in:
parent
2422ec0e28
commit
6fef2853cd
@ -870,7 +870,7 @@
|
|||||||
message_users_cache[usrcachekey]["msgs"].push(message.id);
|
message_users_cache[usrcachekey]["msgs"].push(message.id);
|
||||||
last = message.id;
|
last = message.id;
|
||||||
}
|
}
|
||||||
if (replace == null) {
|
if (replace == null && jumpscroll) {
|
||||||
$("html, body").animate({ scrollTop: $(document).height() }, "slow");
|
$("html, body").animate({ scrollTop: $(document).height() }, "slow");
|
||||||
}
|
}
|
||||||
$('#chatcontent').linkify({
|
$('#chatcontent').linkify({
|
||||||
|
Loading…
Reference in New Issue
Block a user