mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Use HTML details/summary elements for blockquote switcher
This commit is contained in:
parent
c6652ba9b4
commit
9f8fdb2dfb
3 changed files with 8 additions and 19 deletions
|
|
@ -394,7 +394,7 @@ export class MailMessageView extends AbstractViewRight {
|
|||
registerShortcut('b', '', [Scope.MessageList, Scope.MessageView], () => {
|
||||
const message = currentMessage();
|
||||
if (message?.body) {
|
||||
message.body.querySelectorAll('.rlBlockquoteSwitcher').forEach(node => node.click());
|
||||
message.body.querySelectorAll('.sm-bq-switcher > summary').forEach(node => node.click());
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue