Escape now triggers foll modal close (including reset) instead of just hiding th modal
ref #112
This commit is contained in:
parent
892a04f289
commit
9da071fe9b
@ -34,7 +34,7 @@
|
||||
document.onkeydown = (e) => {
|
||||
e = e || window.event;
|
||||
if (e.key === "Escape") {
|
||||
import_modal_open = false;
|
||||
cancelModal();
|
||||
}
|
||||
if (e.keyCode === 13) {
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user