diff --git a/chrome/content/zotero/contextPane.js b/chrome/content/zotero/contextPane.js index 7a3c87127a..3c6db3fae8 100644 --- a/chrome/content/zotero/contextPane.js +++ b/chrome/content/zotero/contextPane.js @@ -247,7 +247,10 @@ var ZoteroContextPane = new function () { } _contextPaneSplitter.setAttribute('hidden', false); - // It seems that on heavy load (i.e. syncing) the line below doesn't set the correct value + + _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')); });