Fix a bug where the Zotero pane would not close when opening Standalone

If Zotero Standalone was opened before Firefox, closed, and opened
again, the user would see a message stating Zotero Standalone was open,
but the pane would not have closed. This was purely cosmetic.
This commit is contained in:
Simon Kornblith 2013-12-14 02:07:36 -05:00
parent 8502b68730
commit 6fa04103c2

View file

@ -146,11 +146,9 @@ var ZoteroPane = new function()
* mode
*/
function _loadPane() {
if(!Zotero || !Zotero.initialized) return;
if(!Zotero || !Zotero.initialized || Zotero.isConnector) return;
if(!Zotero.isConnector) {
ZoteroPane_Local.clearItemsPaneMessage();
}
ZoteroPane_Local.clearItemsPaneMessage();
//Initialize collections view
ZoteroPane_Local.collectionsView = new Zotero.CollectionTreeView();