mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 19:49:20 +03:00
Some small cleanups/corrections
This commit is contained in:
parent
28b32edfab
commit
f0b0d21386
5 changed files with 12 additions and 15 deletions
|
|
@ -54,9 +54,8 @@ const
|
|||
if (!vmDom.showModal) {
|
||||
vmDom.classList.add('polyfill');
|
||||
vmDom.showModal = () => {
|
||||
if (!vmDom.backdrop) {
|
||||
vmDom.backdrop ||
|
||||
vmDom.before(vmDom.backdrop = Element.fromHTML('<div class="dialog-backdrop"></div>'));
|
||||
}
|
||||
vmDom.setAttribute('open','');
|
||||
vmDom.open = true;
|
||||
vmDom.returnValue = null;
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ export class MailMessageView extends AbstractViewRight {
|
|||
const
|
||||
/**
|
||||
* @param {Function} fExecute
|
||||
* @param {(Function|boolean|null)=} fCanExecute = true
|
||||
* @param {Function} fCanExecute = true
|
||||
* @returns {Function}
|
||||
*/
|
||||
createCommand = (fExecute, fCanExecute) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue