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
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue