ReaderLink: allow a forward location stack (#10228)

this allows going back and forth from links (think of undo / redo)

when going back and no forward locations and when we are not on the same page as the last saved location, add the current location to the forward stack, helping if one goes back by mistake they can jump back to their current location

when going back and no forward locations and when we are not on the same page as the last saved location, add the current location to the forward stack, helping if one goes back by mistake they can jump back to thier current location
This commit is contained in:
yparitcher
2023-03-29 12:32:44 -04:00
committed by GitHub
parent 3a894f954c
commit bc5d354225
3 changed files with 91 additions and 8 deletions

View File

@@ -28,6 +28,7 @@ local order = {
"autoturn",
"----------------------------",
"go_to_previous_location",
"go_to_next_location",
},
navi_settings = {
"toc_alt_toc",