forked from fixin.me/fixin.me
Refine styling and scripts
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
<%= javascript_tag do %>
|
||||
function processKey(event) {
|
||||
if (event.key == "Escape") {
|
||||
event.target.closest("tr").querySelector("a[name=cancel]").click();
|
||||
event.currentTarget.querySelector("a[name=cancel]").click();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user