diff options
author | George Tsiolis <tsiolis.g@gmail.com> | 2018-07-03 18:12:49 +0300 |
---|---|---|
committer | George Tsiolis <tsiolis.g@gmail.com> | 2018-07-17 12:01:58 +0300 |
commit | 734a9d80df174174aa70942b58a0be41f4a97d2b (patch) | |
tree | a8d33bff54ad4e2100cf5e40827a8201bb77ee94 | |
parent | ddae884c1a5c7786a05ba7ce27ce9ea6bc09c4e5 (diff) |
Close revert and cherry-pick modal on escape keypress
-rw-r--r-- | app/views/projects/commit/_change.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/commit/_change.html.haml b/app/views/projects/commit/_change.html.haml index 3d97e93c9e9..14a7e84394a 100644 --- a/app/views/projects/commit/_change.html.haml +++ b/app/views/projects/commit/_change.html.haml @@ -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 } .modal-dialog .modal-content .modal-header |