Escape now triggers foll modal close (including reset) instead of just hiding th modal

ref #112
This commit is contained in:
Nicolai Ort 2021-04-05 16:14:43 +02:00
parent 892a04f289
commit 9da071fe9b

View File

@ -34,7 +34,7 @@
document.onkeydown = (e) => {
e = e || window.event;
if (e.key === "Escape") {
import_modal_open = false;
cancelModal();
}
if (e.keyCode === 13) {
//