mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-05-30 18:45:20 -04:00
Browser reader: Fix clicking links with no anchors not always scrolling going to the top of the linked file
This commit is contained in:
@@ -353,6 +353,8 @@ class IframeBoss:
|
||||
elem = c[0]
|
||||
if elem:
|
||||
scroll_to_elem(elem)
|
||||
else:
|
||||
window.scrollTo(0, 0)
|
||||
|
||||
def find(self, data, from_load):
|
||||
if data.searched_in_spine:
|
||||
|
||||
Reference in New Issue
Block a user