Merge pull request #1498 from SergeyMosin/compact-composer-plugin-v1.0.2

fix: signature editor form is submitted on menu open
This commit is contained in:
Maarten 2024-03-15 23:38:25 +01:00 committed by GitHub
commit 8f417c53fb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -6,7 +6,7 @@ class CompactComposerPlugin extends \RainLoop\Plugins\AbstractPlugin
NAME = 'Compact Composer',
AUTHOR = 'Sergey Mosin',
URL = 'https://github.com/the-djmaze/snappymail/pull/1466',
VERSION = '1.0.1',
VERSION = '1.0.2',
RELEASE = '2024-02-23',
REQUIRED = '2.34.0',
LICENSE = 'AGPL v3',

View file

@ -701,6 +701,7 @@
menuWrap.className += ' squire-html-mode-item';
}
const menuBtn = createElement('button');
menuBtn.type = 'button';
menuBtn.className = 'btn dropdown-toggle';
if (item.icon !== '') {
menuBtn.innerHTML = item.icon;