From 67087f2967b5f34f2ec6de2e6578df57d434da8a Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Wed, 18 Jun 2025 11:26:42 -0500 Subject: [PATCH] Bring back hotkey for returning to collection --- app/views/cards/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/cards/show.html.erb b/app/views/cards/show.html.erb index 4b7cf2f5b..fe318394e 100644 --- a/app/views/cards/show.html.erb +++ b/app/views/cards/show.html.erb @@ -27,7 +27,7 @@ <% end %>
- <%= link_to cards_path(collection_ids: [ @card.collection ]), class: "txt-large overflow-ellipsis margin-none txt-ink", style: "view-transistion-name: card-collection-title" do %> + <%= link_to cards_path(collection_ids: [ @card.collection ]), class: "txt-large overflow-ellipsis margin-none txt-ink", style: "view-transistion-name: card-collection-title", data: { controller: "hotkey", action: "keydown.esc@document->hotkey#click" } do %> ← <%= @card.collection.name %> <% end %>