mirror of
https://github.com/koreader/koreader.git
synced 2025-12-18 12:02:09 +01:00
Avoid crash on backends which don't define getLinkFromPosition
This commit is contained in:
@@ -177,6 +177,10 @@ function Document:getPageLinks(pageno)
|
||||
return nil
|
||||
end
|
||||
|
||||
function Document:getLinkFromPosition(pageno, pos)
|
||||
return nil
|
||||
end
|
||||
|
||||
function Document:getTextBoxes(pageno)
|
||||
return nil
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user