mirror of
https://github.com/zotero/zotero.git
synced 2026-10-06 02:50:03 +00:00
Fix two item panes occasionally appear at same time (#4561)
This commit is contained in:
parent
d879c507a5
commit
0530afd669
1 changed files with 0 additions and 5 deletions
|
|
@ -181,11 +181,6 @@
|
|||
_contextPaneSplitter.setAttribute('hidden', false);
|
||||
|
||||
_contextPane.setAttribute('collapsed', !(_contextPaneSplitter.getAttribute('state') != 'collapsed'));
|
||||
// It seems that on heavy load (i.e. syncing) the line below doesn't set the correct value,
|
||||
// therefore we repeat the same operation at the end of JS message queue
|
||||
setTimeout(() => {
|
||||
_contextPane.setAttribute('collapsed', !(_contextPaneSplitter.getAttribute('state') != 'collapsed'));
|
||||
});
|
||||
|
||||
this._sidenav.hidden = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue