commit 6fa04103c25860a9724f82c85907946c7fa83e76
parent 8502b68730109be1db05f7c5e4d822cbd478dce9
Author: Simon Kornblith <simon@simonster.com>
Date: Sat, 14 Dec 2013 02:07:36 -0500
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.
Diffstat:
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js
@@ -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();