diff --git a/chrome/content/zotero/overlay.js b/chrome/content/zotero/overlay.js
index ba0019388f..2273ea5a67 100644
--- a/chrome/content/zotero/overlay.js
+++ b/chrome/content/zotero/overlay.js
@@ -216,6 +216,16 @@ var ZoteroPane = new function()
}, 400);
Zotero.Prefs.set('firstRun', false);
}
+
+ // Hide sync debugging menu by default
+ if (Zotero.Prefs.get('sync.debugMenu')) {
+ var sep = document.getElementById('zotero-tb-actions-sync-separator');
+ var menuitems = [];
+ sep.nextSibling.hidden = false;
+ sep.nextSibling.nextSibling.hidden = false;
+ sep.nextSibling.nextSibling.nextSibling.hidden = false;
+ sep.nextSibling.nextSibling.nextSibling.nextSibling.hidden = false;
+ }
}
diff --git a/chrome/content/zotero/overlay.xul b/chrome/content/zotero/overlay.xul
index f69bb0105c..0217df2d50 100644
--- a/chrome/content/zotero/overlay.xul
+++ b/chrome/content/zotero/overlay.xul
@@ -128,10 +128,10 @@
-
-
-
-
+
+
+
+