Fix sidenav button visibilities update bugs
This commit is contained in:
parent
7fe01d6c03
commit
665f812bd1
1 changed files with 6 additions and 0 deletions
|
@ -422,6 +422,12 @@
|
|||
}
|
||||
|
||||
render() {
|
||||
// TEMP: only render sidenav when pane is visible
|
||||
if (this.container.id === "zotero-view-item"
|
||||
&& document.querySelector("#zotero-item-pane-content").selectedIndex !== "1"
|
||||
) {
|
||||
return;
|
||||
}
|
||||
let contextNotesPaneVisible = this._contextNotesPaneVisible;
|
||||
let pinnedPane = this.pinnedPane;
|
||||
for (let toolbarbutton of this.querySelectorAll('toolbarbutton')) {
|
||||
|
|
Loading…
Reference in a new issue