Viewer: Fix scrolling backwards to previous chapter not always scrolling to the end of the chapter, if the chapter loads external resources. Fixes #1847818 [Private bug](https://bugs.launchpad.net/calibre/+bug/1847818)

This commit is contained in:
Kovid Goyal 2019-10-16 09:38:20 +05:30
parent d87abcce3b
commit c5a48c8ae5
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -205,7 +205,7 @@ def process_stack(stack, tag_map, ns_map, load_required, onload, resource_urls):
if src.a: if src.a:
for a in src.a: for a in src.a:
if a[0] is attr: if a[0] is attr:
loadable = a[1].startswith('blob:') loadable = True
resource_urls[a[1]] = True resource_urls[a[1]] = True
break break
if loadable: if loadable: