From 35496cae4fae86bef2a8f76406e61718a3d036a3 Mon Sep 17 00:00:00 2001 From: cpradio Date: Tue, 20 Oct 2015 09:17:40 -0400 Subject: [PATCH] FIX: Fix the shortcuts shift+j and shift+k --- .../javascripts/discourse/lib/keyboard-shortcuts.js.es6 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/discourse/lib/keyboard-shortcuts.js.es6 b/app/assets/javascripts/discourse/lib/keyboard-shortcuts.js.es6 index a17e4f50c..f15711283 100644 --- a/app/assets/javascripts/discourse/lib/keyboard-shortcuts.js.es6 +++ b/app/assets/javascripts/discourse/lib/keyboard-shortcuts.js.es6 @@ -353,8 +353,8 @@ export default { }, _changeSection(direction) { - const $sections = $('#navigation-bar li'), - active = $('#navigation-bar li.active'), + const $sections = $('.nav.nav-pills li'), + active = $('.nav.nav-pills li.active'), index = $sections.index(active) + direction; if (index >= 0 && index < $sections.length) {