mirror of
https://github.com/koreader/koreader.git
synced 2026-12-02 02:03:00 +00:00
ReaderLink:isXpointerCoherent(): fix check in some edge cases
This commit is contained in:
1 parent
a72790090c
commit
8ae5f9f79e
2 files changed
+6
-4
No files matched your search
@@ -949,8 +949,8 @@ function CreDocument:getPageLinks(internal_links_only)
|
||||
return self._document:getPageLinks(internal_links_only)
|
||||
end
|
||||
|
||||
function CreDocument:getLinkFromPosition(pos)
|
||||
return self._document:getLinkFromPosition(pos.x, pos.y)
|
||||
function CreDocument:getLinkFromPosition(pos, with_forTextSelection)
|
||||
return self._document:getLinkFromPosition(pos.x, pos.y, with_forTextSelection)
|
||||
end
|
||||
|
||||
function CreDocument:isLinkToFootnote(source_xpointer, target_xpointer, flags, max_text_size)
|
||||
|
||||
Reference in new issue
Block a user