Skip to content

Commit

Permalink
Content server FTS: Fix page header bar not visible
Browse files Browse the repository at this point in the history
  • Loading branch information
kovidgoyal committed Dec 26, 2022
1 parent 5c30cc1 commit 8e38105
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/pyj/book_list/fts.pyj
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit 8e38105

Please sign in to comment.