This commit is contained in:
the-djmaze 2022-11-23 11:22:20 +01:00
parent 6d4f626cd6
commit b7fd933499

View file

@ -265,8 +265,9 @@ export class MailMessageView extends AbstractViewRight {
return;
}
if (eqs(event, '.attachmentsPlace .attachmentIconParent')) {
if (eqs(event, '.attachmentsPlace .showPreview')) {
event.stopPropagation();
return;
}
el = eqs(event, '.attachmentsPlace .showPreplay');
@ -287,9 +288,10 @@ export class MailMessageView extends AbstractViewRight {
// no default
}
}
return;
}
el = eqs(event, '.attachmentsPlace .attachmentName');
el = eqs(event, '.attachmentItem');
if (el) {
const attachment = ko.dataFor(el), url = attachment?.linkDownload();
if (url) {