End of document action (#3943)
* End of document action * Rev1 * Rev2 * Rev3 * File browser
This commit is contained in:
1 parent
5b7664b064
commit
fbd549bcfd
4 files changed
+186
-12
No files matched your search
@@ -517,7 +517,9 @@ function ReaderRolling:onGotoViewRel(diff)
|
||||
self.ui:handleEvent(Event:new("EndOfBook"))
|
||||
end
|
||||
end
|
||||
self.xpointer = self.ui.document:getXPointer()
|
||||
if self.ui.document ~= nil then
|
||||
self.xpointer = self.ui.document:getXPointer()
|
||||
end
|
||||
return true
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user