From 2b536dd02ff95769df174293466992087f5d892a Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 4 Oct 2019 13:29:08 +0530 Subject: [PATCH] Remove unused code --- src/pyj/read_book/prefs/head_foot.pyj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyj/read_book/prefs/head_foot.pyj b/src/pyj/read_book/prefs/head_foot.pyj index 4a5ee4a1f6..cd816c32d9 100644 --- a/src/pyj/read_book/prefs/head_foot.pyj +++ b/src/pyj/read_book/prefs/head_foot.pyj @@ -165,5 +165,5 @@ def render_head_foot(div, which, region, progress_frac, metadata, current_toc_no text = '\xa0' if text is not div.textContent: div.textContent = text - div.style.display = 'block' if text else 'none' + div.style.display = 'block' return text, has_clock