mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Content server FTS: Fix page header bar not visible
This commit is contained in:
parent
5c30cc142a
commit
8e38105c5a
@ -416,10 +416,9 @@ def show_panel(visible):
|
|||||||
if c:
|
if c:
|
||||||
x = c.parentNode.firstChild
|
x = c.parentNode.firstChild
|
||||||
while x:
|
while x:
|
||||||
if x.nodeType is 1 and x is not c:
|
if x.nodeType is 1 and x.dataset.component:
|
||||||
x.style.display = 'none'
|
x.style.display = 'block' if x is c else 'none'
|
||||||
x = x.nextSibling
|
x = x.nextSibling
|
||||||
c.style.display = 'block'
|
|
||||||
|
|
||||||
|
|
||||||
def show_search_panel():
|
def show_search_panel():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user