From c5a48c8ae58804f845a4867e0735f74b0a3bac60 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 16 Oct 2019 09:38:20 +0530 Subject: [PATCH] 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) --- src/pyj/read_book/resources.pyj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyj/read_book/resources.pyj b/src/pyj/read_book/resources.pyj index b1a7c708da..b967a1b28d 100644 --- a/src/pyj/read_book/resources.pyj +++ b/src/pyj/read_book/resources.pyj @@ -205,7 +205,7 @@ def process_stack(stack, tag_map, ns_map, load_required, onload, resource_urls): if src.a: for a in src.a: if a[0] is attr: - loadable = a[1].startswith('blob:') + loadable = True resource_urls[a[1]] = True break if loadable: