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() {
|
function thisScrollToBottom() {
|
||||||
|
if (window.location.href.includes('my/messaging/')) {
|
||||||
scrollToBottom($$(rootEl).value, { behavior: 'smooth' });
|
scrollToBottom($$(rootEl).value, { behavior: 'smooth' });
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function onIndicatorClick() {
|
function onIndicatorClick() {
|
||||||
showIndicator = false;
|
showIndicator = false;
|
||||||
|
|
Loading…
Reference in New Issue