mirror of
https://github.com/koreader/koreader.git
synced 2025-12-13 20:36:53 +01:00
bookmark(fix): bookmark comparison for crengine
This commit is contained in:
@@ -236,11 +236,7 @@ function ReaderBookmark:onShowBookmark()
|
||||
end
|
||||
|
||||
function ReaderBookmark:isBookmarkMatch(item, pn_or_xp)
|
||||
if self.ui.document.info.has_pages then
|
||||
return item.page == pn_or_xp
|
||||
else
|
||||
return self.ui.document:isXPointerInCurrentPage(item.page)
|
||||
end
|
||||
return item.page == pn_or_xp
|
||||
end
|
||||
|
||||
function ReaderBookmark:getDogearBookmarkIndex(pn_or_xp)
|
||||
|
||||
Reference in New Issue
Block a user