From 7e7ec071705ef29dc4f2ff636f2dde1aee0eb1f1 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 2 Aug 2019 06:14:50 -0400 Subject: [PATCH] Remove "Show developer tools" checkbox and show menu by default Everybody's a developer now --- .../content/zotero/preferences/preferences_advanced.js | 8 -------- .../content/zotero/preferences/preferences_advanced.xul | 9 --------- chrome/content/zotero/standalone/standalone.js | 4 ---- chrome/content/zotero/standalone/standalone.xul | 3 +-- chrome/locale/en-US/zotero/standalone.dtd | 1 + 5 files changed, 2 insertions(+), 23 deletions(-) diff --git a/chrome/content/zotero/preferences/preferences_advanced.js b/chrome/content/zotero/preferences/preferences_advanced.js index e66fce21c2..4e7d507bcc 100644 --- a/chrome/content/zotero/preferences/preferences_advanced.js +++ b/chrome/content/zotero/preferences/preferences_advanced.js @@ -64,14 +64,6 @@ Zotero_Preferences.Advanced = { }), - onDeveloperToolsToggle: function () { - setTimeout(function () { - var enabled = Zotero.Prefs.get('devtools.chrome.enabled', true); - window.opener.document.getElementById('developer-menu').hidden = !enabled; - }); - }, - - migrateDataDirectory: Zotero.Promise.coroutine(function* () { var currentDir = Zotero.DataDirectory.dir; var defaultDir = Zotero.DataDirectory.defaultDir; diff --git a/chrome/content/zotero/preferences/preferences_advanced.xul b/chrome/content/zotero/preferences/preferences_advanced.xul index 3c0070a32d..05ff72d9d8 100644 --- a/chrome/content/zotero/preferences/preferences_advanced.xul +++ b/chrome/content/zotero/preferences/preferences_advanced.xul @@ -39,7 +39,6 @@ - @@ -136,14 +135,6 @@ - - - -