only scroll to bottom in messaging IF in DM
This commit is contained in:
parent
db16ff4950
commit
b65cc2935a
|
@ -240,8 +240,10 @@ function onDeleted(id) {
|
|||
}
|
||||
|
||||
function thisScrollToBottom() {
|
||||
if (window.location.href.includes('my/messaging/')) {
|
||||
scrollToBottom($$(rootEl).value, { behavior: 'smooth' });
|
||||
}
|
||||
}
|
||||
|
||||
function onIndicatorClick() {
|
||||
showIndicator = false;
|
||||
|
|
Loading…
Reference in New Issue