mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Mixed up unireader.toc with self.toc, sorry.
This commit is contained in:
@@ -2266,7 +2266,7 @@ function UniReader:addAllCommands()
|
||||
-- addJump() will cause a "Retrieving TOC..." msg, so we'll
|
||||
-- need to redraw the page after our own
|
||||
-- ifo msg "Already first jump!" below
|
||||
if not self.toc then need_refresh = true end
|
||||
if not unireader.toc then need_refresh = true end
|
||||
|
||||
-- if cur points to head, put current page in history
|
||||
unireader:addJump(self.pageno)
|
||||
|
||||
Reference in New Issue
Block a user