mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Remove unused returnValue
This commit is contained in:
parent
04e2869953
commit
8841464f84
1 changed files with 1 additions and 3 deletions
|
|
@ -59,13 +59,11 @@ const
|
|||
vmDom.before(vmDom.backdrop = createElement('div',{class:'dialog-backdrop'}));
|
||||
vmDom.setAttribute('open','');
|
||||
vmDom.open = true;
|
||||
vmDom.returnValue = null;
|
||||
vmDom.backdrop.hidden = false;
|
||||
};
|
||||
vmDom.close = v => {
|
||||
vmDom.close = () => {
|
||||
// if (vmDom.dispatchEvent(new CustomEvent('cancel', {cancelable:true}))) {
|
||||
vmDom.backdrop.hidden = true;
|
||||
vmDom.returnValue = v;
|
||||
vmDom.removeAttribute('open', null);
|
||||
vmDom.open = false;
|
||||
// vmDom.dispatchEvent(new CustomEvent('close'));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue