mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Bookmarks: fix compare invalid xpointers (#8690)
This commit is contained in:
@@ -643,6 +643,7 @@ end
|
||||
|
||||
function CreDocument:compareXPointers(xp1, xp2)
|
||||
-- Returns 1 if XPointers are ordered (if xp2 is after xp1), -1 if not, 0 if same
|
||||
-- Returns nil if any of XPointers are invalid
|
||||
return self._document:compareXPointers(xp1, xp2)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user