diff --git a/chrome/content/zotero/overlay.js b/chrome/content/zotero/overlay.js
index 8dffd00db4..3071346c44 100644
--- a/chrome/content/zotero/overlay.js
+++ b/chrome/content/zotero/overlay.js
@@ -315,7 +315,7 @@ var ZoteroOverlay = new function()
} else { // Zotero is running in the pane
if(setMode === false) return;
// close Zotero pane
- this.toggleDisplay();
+ this.toggleDisplay(false);
// open Zotero tab
this.isTab = true;
diff --git a/chrome/content/zotero/preferences/preferences.xul b/chrome/content/zotero/preferences/preferences.xul
index 5d916ef462..c67af25c8c 100644
--- a/chrome/content/zotero/preferences/preferences.xul
+++ b/chrome/content/zotero/preferences/preferences.xul
@@ -572,7 +572,7 @@ To add a new preference:
-
+
diff --git a/chrome/content/zotero/zoteroPane.xul b/chrome/content/zotero/zoteroPane.xul
index 22b313fa4a..ebf2336c5b 100644
--- a/chrome/content/zotero/zoteroPane.xul
+++ b/chrome/content/zotero/zoteroPane.xul
@@ -389,7 +389,7 @@
-
+
diff --git a/chrome/locale/en-US/zotero/preferences.dtd b/chrome/locale/en-US/zotero/preferences.dtd
index 13980a98a9..083e1afe3b 100644
--- a/chrome/locale/en-US/zotero/preferences.dtd
+++ b/chrome/locale/en-US/zotero/preferences.dtd
@@ -104,6 +104,7 @@
+
diff --git a/chrome/locale/en-US/zotero/zotero.dtd b/chrome/locale/en-US/zotero/zotero.dtd
index fac2d32fe9..4b57c0d53d 100644
--- a/chrome/locale/en-US/zotero/zotero.dtd
+++ b/chrome/locale/en-US/zotero/zotero.dtd
@@ -87,7 +87,7 @@
-
+
diff --git a/components/zotero-protocol-handler.js b/components/zotero-protocol-handler.js
index 188898d721..f0b84cc5f0 100644
--- a/components/zotero-protocol-handler.js
+++ b/components/zotero-protocol-handler.js
@@ -880,10 +880,10 @@ function ChromeExtensionHandler() {
.wrappedJSObject;
generateContent: try {
- var win = Components.classes["@mozilla.org/appshell/window-mediator;1"]
- .getService(Components.interfaces.nsIWindowMediator)
- .getMostRecentWindow("navigator:browser");
- win.ZoteroOverlay.toggleTab(true);
+ var window = Components.classes["@mozilla.org/embedcomp/window-watcher;1"]
+ .getService(Components.interfaces.nsIWindowWatcher)
+ .openWindow(null, 'chrome://zotero/content/standalone.xul', '',
+ 'chrome,centerscreen,resizable', null);
}
catch (e) {
Zotero.debug(e);