From 5f9b7597d90477ac0aa692731314ba10ac5ff680 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 5 Nov 2019 08:24:35 +0530 Subject: [PATCH] ... --- src/pyj/read_book/iframe.pyj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyj/read_book/iframe.pyj b/src/pyj/read_book/iframe.pyj index 72d3593905..114f8b467a 100644 --- a/src/pyj/read_book/iframe.pyj +++ b/src/pyj/read_book/iframe.pyj @@ -363,7 +363,7 @@ class IframeBoss: return self.last_window_width, self.last_window_height = scroll_viewport.width(), scroll_viewport.height() if current_layout_mode() is not 'flow': - self.do_layout() + self.do_layout(self.is_titlepage) if self.last_cfi: cfi = self.last_cfi[len('epubcfi(/'):-1].partition('/')[2] if cfi: