mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-06-04 21:15:24 -04:00
Viewer: Fix jump to previous section not working when viewer is on last section
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user