mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
FIX: Fix the shortcuts shift+j and shift+k
This commit is contained in:
parent
af7d51e923
commit
35496cae4f
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue