From 32059852d239531bb7f3198b8fc0681005c63d25 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 8 Feb 2025 09:16:39 +0530 Subject: [PATCH] ... --- src/pyj/read_book/view.pyj | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pyj/read_book/view.pyj b/src/pyj/read_book/view.pyj index af331508dc..950d1abc99 100644 --- a/src/pyj/read_book/view.pyj +++ b/src/pyj/read_book/view.pyj @@ -163,8 +163,7 @@ def show_controls_help(): def body_font_size(): ans = body_font_size.ans - dpr = body_font_size.dpr - if not ans or window.devicePixelRatio is not dpr: + if not ans or window.devicePixelRatio is not body_font_size.dpr: body_font_size.dpr = window.devicePixelRatio q = window.getComputedStyle(document.body).fontSize if q and q.endsWith('px'):