Viewer: Fix jump to previous section not working when viewer is on last section

This commit is contained in:
Kovid Goyal
2020-06-06 11:58:47 +05:30
parent f6944a9407
commit a7c28570ec
+2
View File
@@ -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