diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js index 7606a48bce..f5a7522e42 100644 --- a/chrome/content/zotero/zoteroPane.js +++ b/chrome/content/zotero/zoteroPane.js @@ -4770,14 +4770,9 @@ var ZoteroPane = new function() if(!el) return; var elValues = serializedValues[id]; for(var attr in elValues) { - // TEMP: For now, ignore persisted collapsed state for item pane splitter - if (el.id == 'zotero-items-splitter' && attr == 'state') continue; - // And don't restore to min-width if splitter was collapsed - if (el.id == 'zotero-item-pane' && attr == 'width' && elValues[attr] == 250 - && 'zotero-items-splitter' in serializedValues - && serializedValues['zotero-items-splitter'].state == 'collapsed') { - continue; - } + // TEMP: For now, ignore persisted collapsed state for collection and item pane splitters + if ((el.id == 'zotero-collections-splitter' || el.id == 'zotero-items-splitter') + && attr == 'state') continue; el.setAttribute(attr, elValues[attr]); } }