Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Tsiolis <tsiolis.g@gmail.com>2018-07-03 18:12:49 +0300
committerGeorge Tsiolis <tsiolis.g@gmail.com>2018-07-17 12:01:58 +0300
commit734a9d80df174174aa70942b58a0be41f4a97d2b (patch)
treea8d33bff54ad4e2100cf5e40827a8201bb77ee94
parentddae884c1a5c7786a05ba7ce27ce9ea6bc09c4e5 (diff)
Close revert and cherry-pick modal on escape keypress
-rw-r--r--app/views/projects/commit/_change.html.haml2
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