Mixed up unireader.toc with self.toc, sorry.

This commit is contained in:
Tigran Aivazian
2012-09-26 19:56:07 +01:00
parent 44bb4d18f2
commit a7b22ba0d4

View File

@@ -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)