mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-02-24 14:57:26 +08:00
Resolve #691
This commit is contained in:
parent
6d4f626cd6
commit
b7fd933499
1 changed files with 4 additions and 2 deletions
|
@ -265,8 +265,9 @@ export class MailMessageView extends AbstractViewRight {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (eqs(event, '.attachmentsPlace .attachmentIconParent')) {
|
if (eqs(event, '.attachmentsPlace .showPreview')) {
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
el = eqs(event, '.attachmentsPlace .showPreplay');
|
el = eqs(event, '.attachmentsPlace .showPreplay');
|
||||||
|
@ -287,9 +288,10 @@ export class MailMessageView extends AbstractViewRight {
|
||||||
// no default
|
// no default
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
el = eqs(event, '.attachmentsPlace .attachmentName');
|
el = eqs(event, '.attachmentItem');
|
||||||
if (el) {
|
if (el) {
|
||||||
const attachment = ko.dataFor(el), url = attachment?.linkDownload();
|
const attachment = ko.dataFor(el), url = attachment?.linkDownload();
|
||||||
if (url) {
|
if (url) {
|
||||||
|
|
Loading…
Reference in a new issue