mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
The #1011 bug is caused by the `contains` check of link box with visible area. When the link is at the very right (left?) of the page, enlarged link box often exceeds the page bound rendering the mentioned `contains` check failed. This patch uses an `intersectWith` test to check if the link is in current page.