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:
parent
8502b68730
commit
6fa04103c2
1 changed files with 2 additions and 4 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
//Initialize collections view
|
||||
ZoteroPane_Local.collectionsView = new Zotero.CollectionTreeView();
|
||||
|
|
Loading…
Reference in a new issue