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