diff --git a/index.html b/index.html
index 24d7d10..cf74d20 100644
--- a/index.html
+++ b/index.html
@@ -131,6 +131,13 @@
}
});
+ // Close modal when pressing ESC key
+ document.addEventListener("keydown", (e) => {
+ if (e.key === "Escape" && !eventDetailsModal.classList.contains("hidden")) {
+ eventDetailsModal.classList.add("hidden");
+ }
+ });
+
// If we have an API key but no userInfo, fetch it from the server
if (storedApiKey && !userInfo) {
fetch(`${apiBaseUrl}/userinfo`, {
diff --git a/pyproject.toml b/pyproject.toml
index 05803a6..20733da 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "myice"
-version = "v0.5.9"
+version = "v0.6.0"
description = "myice parsing"
authors = [
{ name = "Rene Luria", "email" = ""},