mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 09:23:14 +02:00
Viewer: Fix jump to previous section not working when viewer is on last section
This commit is contained in:
parent
f6944a9407
commit
a7c28570ec
1 changed files with 2 additions and 0 deletions
|
|
@ -58,6 +58,8 @@ def get_border_nodes(toc, id_map):
|
|||
after = node
|
||||
return True
|
||||
)
|
||||
if not before and prev is not None:
|
||||
before = prev
|
||||
return before, after
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue