summaryrefslogtreecommitdiff
path: root/app/assets
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-09-07 16:13:38 +0100
committerJacob Schatz <jschatz1@gmail.com>2016-09-15 18:20:36 -0400
commit23303990ee7acaeab64c4445c00216021e33e5a3 (patch)
tree0e9d33232fc4a7c8c098e5962878200a9b88a6e5 /app/assets
parentd2370422c5d5f2b011b8c2349dab964e4088284b (diff)
downloadgitlab-ce-23303990ee7acaeab64c4445c00216021e33e5a3.tar.gz
Added keyboard shortcut to navigate to issue boards
Closes #21218
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/javascripts/shortcuts_navigation.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/assets/javascripts/shortcuts_navigation.js b/app/assets/javascripts/shortcuts_navigation.js
index 469e25482bb..b04159420d1 100644
--- a/app/assets/javascripts/shortcuts_navigation.js
+++ b/app/assets/javascripts/shortcuts_navigation.js
@@ -34,6 +34,9 @@
Mousetrap.bind('g i', function() {
return ShortcutsNavigation.findAndFollowLink('.shortcuts-issues');
});
+ Mousetrap.bind('g l', function() {
+ ShortcutsNavigation.findAndFollowLink('.shortcuts-issue-boards');
+ });
Mousetrap.bind('g m', function() {
return ShortcutsNavigation.findAndFollowLink('.shortcuts-merge_requests');
});