fix alt-e at the last error
This commit is contained in:
parent
703a5394e3
commit
d9e4b52ee1
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ function findAnnotations(session, row, dir) {
|
|||
if (i < 0)
|
||||
i = -i - 1;
|
||||
|
||||
if (i >= annotations.length - 1)
|
||||
if (i >= annotations.length)
|
||||
i = dir > 0 ? 0 : annotations.length - 1;
|
||||
else if (i === 0 && dir < 0)
|
||||
i = annotations.length - 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue