From 16e513cf9810811b025c656a37b6bcd119261d4c Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Fri, 23 Dec 2022 12:27:46 +0100 Subject: [PATCH] Avatars plugin fix for new MessageList group by day option --- plugins/avatars/avatars.js | 4 ++-- plugins/avatars/index.php | 4 ++-- plugins/avatars/style.css | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/avatars/avatars.js b/plugins/avatars/avatars.js index 48e2f1eb3..5ddbf71c5 100644 --- a/plugins/avatars/avatars.js +++ b/plugins/avatars/avatars.js @@ -226,8 +226,8 @@ if ('MailMessageList' === e.detail.viewModelTemplateID) { isMobile = e.detail.isMobile; - document.getElementById('MailMessageList').content.querySelector('.messageCheckbox') - .append(Element.fromHTML(``)); + document.getElementById('MailMessageList').content.querySelectorAll('.messageCheckbox') + .forEach(el => el.append(Element.fromHTML(``))); } }); diff --git a/plugins/avatars/index.php b/plugins/avatars/index.php index 1839b08bf..c0ad97660 100644 --- a/plugins/avatars/index.php +++ b/plugins/avatars/index.php @@ -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', diff --git a/plugins/avatars/style.css b/plugins/avatars/style.css index fc3ddbe55..d5d5a0025 100644 --- a/plugins/avatars/style.css +++ b/plugins/avatars/style.css @@ -20,5 +20,5 @@ .messageCheckbox .fromPic { margin: 0 0 -0.4em 0.4em; height: 1.5em; - max-width: 1.5em; + width: 1.5em; }