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:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-03-30 18:14:56 +0300
committerJacob Schatz <jschatz1@gmail.com>2017-04-07 01:14:42 +0300
commite220eecb57ced25b12fcdad10fcaf0ec5f86cce1 (patch)
treea76b1a67a95988fd8e59a08f9c8d81a06a4b6294 /app/assets/javascripts/shortcuts_dashboard_navigation.js
parent610ea22ea770821fac04f3d757f98091a85512c7 (diff)
Switch global shortcuts to shift; reuse key styles from help menu
Diffstat (limited to 'app/assets/javascripts/shortcuts_dashboard_navigation.js')
-rw-r--r--app/assets/javascripts/shortcuts_dashboard_navigation.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/app/assets/javascripts/shortcuts_dashboard_navigation.js b/app/assets/javascripts/shortcuts_dashboard_navigation.js
index 4f1a19924a4..0d8d251e93e 100644
--- a/app/assets/javascripts/shortcuts_dashboard_navigation.js
+++ b/app/assets/javascripts/shortcuts_dashboard_navigation.js
@@ -13,21 +13,6 @@ require('./shortcuts');
function ShortcutsDashboardNavigation() {
ShortcutsDashboardNavigation.__super__.constructor.call(this);
- Mousetrap.bind('g a', function() {
- return ShortcutsDashboardNavigation.findAndFollowLink('.dashboard-shortcuts-activity');
- });
- Mousetrap.bind('g i', function() {
- return ShortcutsDashboardNavigation.findAndFollowLink('.dashboard-shortcuts-issues');
- });
- Mousetrap.bind('g m', function() {
- return ShortcutsDashboardNavigation.findAndFollowLink('.dashboard-shortcuts-merge_requests');
- });
- Mousetrap.bind('g t', function() {
- return ShortcutsDashboardNavigation.findAndFollowLink('.shortcuts-todos');
- });
- Mousetrap.bind('g p', function() {
- return ShortcutsDashboardNavigation.findAndFollowLink('.dashboard-shortcuts-projects');
- });
}
ShortcutsDashboardNavigation.findAndFollowLink = function(selector) {