diff --git a/chrome/content/zotero/overlay.js b/chrome/content/zotero/overlay.js
index d7e5fc7db..fc0abb4ff 100644
--- a/chrome/content/zotero/overlay.js
+++ b/chrome/content/zotero/overlay.js
@@ -197,12 +197,10 @@ var ZoteroPane = new function()
// Hide sync debugging menu by default
if (Zotero.Prefs.get('sync.debugMenu')) {
var sep = document.getElementById('zotero-tb-actions-sync-separator');
- var menuitems = [];
+ sep.hidden = false;
sep.nextSibling.hidden = false;
sep.nextSibling.nextSibling.hidden = false;
sep.nextSibling.nextSibling.nextSibling.hidden = false;
- sep.nextSibling.nextSibling.nextSibling.nextSibling.hidden = false;
- sep.nextSibling.nextSibling.nextSibling.nextSibling.nextSibling.nextSibling.hidden = false;
}
if (Zotero.Prefs.get('debugShowDuplicates')) {
diff --git a/chrome/content/zotero/overlay.xul b/chrome/content/zotero/overlay.xul
index 8a9c58c68..669998209 100644
--- a/chrome/content/zotero/overlay.xul
+++ b/chrome/content/zotero/overlay.xul
@@ -160,15 +160,10 @@
-
-
-
-
-
-
-
-
-
+
+
+
+