mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-22 18:07:31 -07:00
only scroll to bottom in messaging IF in DM
This commit is contained in:
parent
1df74fcf98
commit
795f2ea639
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue