diff --git a/src/pyj/book_list/fts.pyj b/src/pyj/book_list/fts.pyj index dd4c439fbd..d3837b40e4 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():