diff --git a/app/assets/javascripts/shortcuts_navigation.js b/app/assets/javascripts/shortcuts_navigation.js index 5128223b373..ba76664eed6 100644 --- a/app/assets/javascripts/shortcuts_navigation.js +++ b/app/assets/javascripts/shortcuts_navigation.js @@ -25,7 +25,7 @@ require('./shortcuts'); Mousetrap.bind('g c', function() { return ShortcutsNavigation.findAndFollowLink('.shortcuts-commits'); }); - Mousetrap.bind('g b', function() { + Mousetrap.bind('g j', function() { return ShortcutsNavigation.findAndFollowLink('.shortcuts-builds'); }); Mousetrap.bind('g n', function() { @@ -37,7 +37,7 @@ require('./shortcuts'); Mousetrap.bind('g i', function() { return ShortcutsNavigation.findAndFollowLink('.shortcuts-issues'); }); - Mousetrap.bind('g l', function() { + Mousetrap.bind('g b', function() { ShortcutsNavigation.findAndFollowLink('.shortcuts-issue-boards'); }); Mousetrap.bind('g m', function() { diff --git a/app/views/layouts/nav/_dashboard.html.haml b/app/views/layouts/nav/_dashboard.html.haml index 39daefa11fd..2f8d722c58a 100644 --- a/app/views/layouts/nav/_dashboard.html.haml +++ b/app/views/layouts/nav/_dashboard.html.haml @@ -19,13 +19,13 @@ = nav_link(controller: [:groups, 'groups/milestones', 'groups/group_members']) do = link_to dashboard_groups_path, class: 'dashboard-shortcuts-groups', title: 'Groups' do .shortcut-mappings - .key shift l + .key shift g %span Groups = nav_link(controller: 'dashboard/milestones') do = link_to dashboard_milestones_path, class: 'dashboard-shortcuts-milestones', title: 'Milestones' do .shortcut-mappings - .key shift w + .key shift l %span Milestones = nav_link(path: 'dashboard#issues') do