From 070c8eb7a53c604f59a4902e43e1f9c6f332daed Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Tue, 30 Nov 2010 21:02:34 +0000 Subject: [PATCH] fix code mistakenly removed in r7384 --- chrome/content/zotero/overlay.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/overlay.js b/chrome/content/zotero/overlay.js index 0f14dbe03..c90daf561 100644 --- a/chrome/content/zotero/overlay.js +++ b/chrome/content/zotero/overlay.js @@ -105,9 +105,8 @@ var ZoteroPane = new function() if(Zotero.isStandalone) { _loaded = true; this.toggleDisplay(); - } else { - return; } + return; } if (Zotero.locked) { @@ -220,6 +219,11 @@ var ZoteroPane = new function() if (Zotero.Prefs.get('debugShowDuplicates')) { document.getElementById('zotero-tb-actions-showDuplicates').hidden = false; } + + if(Zotero.isStandalone) { + this.toggleDisplay(true); + this.fullScreen(true); + } }