End of document action (#3943)

* End of document action

* Rev1

* Rev2

* Rev3

* File browser
This commit is contained in:
Robert
2018-05-13 13:07:23 +02:00
committed by GitHub
parent 5b7664b064
commit fbd549bcfd
4 changed files with 186 additions and 12 deletions

View File

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