only scroll to bottom in messaging IF in DM
This commit is contained in:
parent
db16ff4950
commit
b65cc2935a
|
@ -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 New Issue