Commit 734a9d80 authored by George Tsiolis's avatar George Tsiolis 🍉

Close revert and cherry-pick modal on escape keypress

parent ddae884c
......@@ -11,7 +11,7 @@
- branch_label = s_('ChangeTypeActionLabel|Pick into branch')
- title = commit.merged_merge_request(current_user) ? _('Cherry-pick this merge request') : _('Cherry-pick this commit')
.modal{ id: "modal-#{type}-commit" }
.modal{ id: "modal-#{type}-commit", tabindex: -1 }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment