mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
fix: signature editor form is submitted on menu open (set menu button element 'type' to 'button')
This commit is contained in:
parent
c18ae6477d
commit
7c6d2ad423
2 changed files with 2 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ class CompactComposerPlugin extends \RainLoop\Plugins\AbstractPlugin
|
||||||
NAME = 'Compact Composer',
|
NAME = 'Compact Composer',
|
||||||
AUTHOR = 'Sergey Mosin',
|
AUTHOR = 'Sergey Mosin',
|
||||||
URL = 'https://github.com/the-djmaze/snappymail/pull/1466',
|
URL = 'https://github.com/the-djmaze/snappymail/pull/1466',
|
||||||
VERSION = '1.0.1',
|
VERSION = '1.0.2',
|
||||||
RELEASE = '2024-02-23',
|
RELEASE = '2024-02-23',
|
||||||
REQUIRED = '2.34.0',
|
REQUIRED = '2.34.0',
|
||||||
LICENSE = 'AGPL v3',
|
LICENSE = 'AGPL v3',
|
||||||
|
|
|
||||||
|
|
@ -701,6 +701,7 @@
|
||||||
menuWrap.className += ' squire-html-mode-item';
|
menuWrap.className += ' squire-html-mode-item';
|
||||||
}
|
}
|
||||||
const menuBtn = createElement('button');
|
const menuBtn = createElement('button');
|
||||||
|
menuBtn.type = 'button';
|
||||||
menuBtn.className = 'btn dropdown-toggle';
|
menuBtn.className = 'btn dropdown-toggle';
|
||||||
if (item.icon !== '') {
|
if (item.icon !== '') {
|
||||||
menuBtn.innerHTML = item.icon;
|
menuBtn.innerHTML = item.icon;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue