mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 14:07:04 +03:00
Bugfix: prevent issue with modal dialog supported Esc key to close
This commit is contained in:
parent
2627a16c36
commit
8cdce0c302
2 changed files with 16 additions and 4 deletions
|
|
@ -62,9 +62,9 @@ export class AbstractViewPopup extends AbstractView
|
|||
shortcuts.add('escape,close', '', name, () => {
|
||||
if (this.modalVisible() && false !== this.onClose()) {
|
||||
this.close();
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
return false;
|
||||
// return true; Issue with supported modal close
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue