mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Avatars plugin fix for new MessageList group by day option
This commit is contained in:
parent
b0ed74575f
commit
16e513cf98
3 changed files with 5 additions and 5 deletions
|
|
@ -226,8 +226,8 @@
|
|||
|
||||
if ('MailMessageList' === e.detail.viewModelTemplateID) {
|
||||
isMobile = e.detail.isMobile;
|
||||
document.getElementById('MailMessageList').content.querySelector('.messageCheckbox')
|
||||
.append(Element.fromHTML(`<img class="fromPic" data-bind="fromPic:$data" loading="lazy">`));
|
||||
document.getElementById('MailMessageList').content.querySelectorAll('.messageCheckbox')
|
||||
.forEach(el => el.append(Element.fromHTML(`<img class="fromPic" data-bind="fromPic:$data" loading="lazy">`)));
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@ class AvatarsPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
NAME = 'Avatars',
|
||||
AUTHOR = 'SnappyMail',
|
||||
URL = 'https://snappymail.eu/',
|
||||
VERSION = '1.5',
|
||||
RELEASE = '2022-12-15',
|
||||
VERSION = '1.6',
|
||||
RELEASE = '2022-12-23',
|
||||
REQUIRED = '2.23.0',
|
||||
CATEGORY = 'Contacts',
|
||||
LICENSE = 'MIT',
|
||||
|
|
|
|||
|
|
@ -20,5 +20,5 @@
|
|||
.messageCheckbox .fromPic {
|
||||
margin: 0 0 -0.4em 0.4em;
|
||||
height: 1.5em;
|
||||
max-width: 1.5em;
|
||||
width: 1.5em;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue