From 8e38105c5a16d8d58ba871fd723f8754ffff13ec Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 26 Dec 2022 17:29:49 +0530 Subject: [PATCH] Content server FTS: Fix page header bar not visible --- src/pyj/book_list/fts.pyj | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/pyj/book_list/fts.pyj b/src/pyj/book_list/fts.pyj index dd4c439fbdf0..d3837b40e4e8 100644 --- a/src/pyj/book_list/fts.pyj +++ b/src/pyj/book_list/fts.pyj @@ -416,10 +416,9 @@ def show_panel(visible): if c: x = c.parentNode.firstChild while x: - if x.nodeType is 1 and x is not c: - x.style.display = 'none' + if x.nodeType is 1 and x.dataset.component: + x.style.display = 'block' if x is c else 'none' x = x.nextSibling - c.style.display = 'block' def show_search_panel():