only scroll to bottom in messaging IF in DM

This commit is contained in:
ThatOneCalculator 2022-09-13 19:37:38 -07:00
parent 1df74fcf98
commit 795f2ea639

View file

@ -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;