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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
cba47179
Commit
cba47179
authored
Mar 26, 2017
by
Jacob Schatz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change shortcut to `n`.
parent
fac13e61
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
app/assets/javascripts/shortcuts.js
app/assets/javascripts/shortcuts.js
+1
-1
app/views/help/_shortcuts.html.haml
app/views/help/_shortcuts.html.haml
+2
-2
No files found.
app/assets/javascripts/shortcuts.js
View file @
cba47179
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
}
}
}
}
Mousetrap
.
bind
(
'
m
'
,
function
()
{
Mousetrap
.
bind
(
'
n
'
,
function
()
{
$
(
'
.global-dropdown-menu
'
).
addClass
(
'
shortcuts
'
)
$
(
'
.global-dropdown-menu
'
).
addClass
(
'
shortcuts
'
)
$
(
'
.global-dropdown-toggle
'
).
trigger
(
'
click
'
);
$
(
'
.global-dropdown-toggle
'
).
trigger
(
'
click
'
);
});
});
...
...
app/views/help/_shortcuts.html.haml
View file @
cba47179
...
@@ -17,8 +17,8 @@
...
@@ -17,8 +17,8 @@
%th
Global Shortcuts
%th
Global Shortcuts
%tr
%tr
%td
.shortcut
%td
.shortcut
.key
m
.key
n
%td
Main
Menu
%td
Main
Navigation
%tr
%tr
%td
.shortcut
%td
.shortcut
.key
s
.key
s
...
...
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