mirror of
https://example.com
synced 2024-11-24 01:26:39 +09:00
only scroll to bottom in messaging IF in DM
This commit is contained in:
parent
db16ff4950
commit
b65cc2935a
1 changed files with 3 additions and 1 deletions
|
@ -240,7 +240,9 @@ function onDeleted(id) {
|
|||
}
|
||||
|
||||
function thisScrollToBottom() {
|
||||
scrollToBottom($$(rootEl).value, { behavior: 'smooth' });
|
||||
if (window.location.href.includes('my/messaging/')) {
|
||||
scrollToBottom($$(rootEl).value, { behavior: 'smooth' });
|
||||
}
|
||||
}
|
||||
|
||||
function onIndicatorClick() {
|
||||
|
|
Loading…
Reference in a new issue