mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Fix mailto: that i broke in #484
This commit is contained in:
parent
ec24392664
commit
54107ca937
4 changed files with 36 additions and 24 deletions
|
|
@ -252,11 +252,10 @@ export class MailMessageView extends AbstractViewRight {
|
|||
ThemeStore.isMobile() && leftPanelDisabled(true);
|
||||
|
||||
let el = eqs(event, 'a');
|
||||
if (el) {
|
||||
return !(
|
||||
0 === event.button &&
|
||||
mailToHelper(el.href)
|
||||
);
|
||||
if (el && 0 === event.button && mailToHelper(el.href)) {
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
return;
|
||||
}
|
||||
|
||||
if (eqs(event, '.attachmentsPlace .attachmentIconParent')) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue