From 5c31ef1aa698f543dccc70e5b5c6fd8135bbde70 Mon Sep 17 00:00:00 2001 From: Jorge Manrubia Date: Mon, 2 Jun 2025 17:17:13 +0200 Subject: [PATCH] Make dialog close on ESC --- app/views/cards/index/_header.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/cards/index/_header.html.erb b/app/views/cards/index/_header.html.erb index ff4378a98..c0dfccbdb 100644 --- a/app/views/cards/index/_header.html.erb +++ b/app/views/cards/index/_header.html.erb @@ -4,7 +4,7 @@
-
+
<%= tag.button class: "txt-align-center input input--select borderless txt-medium", data: { action: "click->dialog#open:stop keydown.meta+j@document->hotkey#click keydown.ctrl+j@document->hotkey#click",