Some array.slice to array.startsWith and cleanup some JavaScript code

This commit is contained in:
the-djmaze 2022-10-26 16:38:39 +02:00
parent 3903a37b64
commit ffcc86805a
8 changed files with 83 additions and 146 deletions

View file

@ -441,10 +441,6 @@ export class MailMessageView extends AbstractViewRight {
return MessagelistUserStore.isDraftFolder() || MessagelistUserStore.isSentFolder();
}
composeClick() {
showMessageComposer();
}
scrollMessageToTop() {
oMessageScrollerDom().scrollTop = (50 < oMessageScrollerDom().scrollTop) ? 50 : 0;
}