Skip to content

Commit e9c7047

Browse files
committed
Fix 'The normal Vim keys like j/k/ctrl-d/n etc. don't seem to work in help tabs.'
1 parent e19e0d4 commit e9c7047

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

muttator/content/mail.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ const Mail = Module("mail", {
376376
for (let j = (i == currentIndex() && !reverse) ? 1 : (reverse ? thread.numChildren - 1 : 0);
377377
reverse ? (j >= 0) : (j < thread.numChildren);
378378
reverse ? j-- : j++) {
379-
msg = thread.getChildAt(j);
379+
msg = thread.getChild(thread.getChildKeyAt(j));
380380
if (validatorFunc(msg) && --count == 0) {
381381
// this hack is needed to get the correct message, because getChildAt() does not
382382
// necessarily return the messages in the order they are displayed

0 commit comments

Comments
 (0)