Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
5de0770a
Commit
5de0770a
authored
Apr 12, 2021
by
jboyson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add keyboard support
parent
8a7baa28
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
app/assets/javascripts/diffs/components/diff_row.vue
app/assets/javascripts/diffs/components/diff_row.vue
+3
-0
No files found.
app/assets/javascripts/diffs/components/diff_row.vue
View file @
5de0770a
...
...
@@ -217,6 +217,7 @@ export default {
>
<div
role=
"button"
tabindex=
"0"
:draggable=
"glFeatures.dragCommentSelection"
type=
"button"
class=
"add-diff-note unified-diff-components-diff-note-button note-button js-add-diff-note-button qa-diff-comment"
...
...
@@ -224,6 +225,8 @@ export default {
:class=
"
{ 'gl-cursor-grab': dragging }"
:disabled="line.left.commentsDisabled"
@click="handleCommentButton(line.left)"
@keydown.enter="handleCommentButton(line.left)"
@keydown.space="handleCommentButton(line.left)"
@dragstart="onDragStart({ ...line.left, index })"
>
</div>
</span>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment