mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
TOC, bookmarks: remember current page so we can go back to it
This commit is contained in:
@@ -241,6 +241,7 @@ function ReaderBookmark:onShowBookmark()
|
||||
-- buid up menu widget method as closure
|
||||
local bookmark = self
|
||||
function bm_menu:onMenuChoice(item)
|
||||
bookmark.ui.link:addCurrentLocationToStack()
|
||||
bookmark:gotoBookmark(item.page)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user