Bring back hotkey for returning to collection
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
<% end %>
|
||||
|
||||
<header class="card-perma__collection-header">
|
||||
<%= 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 %>
|
||||
← <strong class="font-black"><%= @card.collection.name %></strong>
|
||||
<% end %>
|
||||
</header>
|
||||
|
||||
Reference in New Issue
Block a user