diff --git a/chrome/content/zotero/tools/testTranslators/translatorTester.js b/chrome/content/zotero/tools/testTranslators/translatorTester.js index a56244b919..51b1912b55 100644 --- a/chrome/content/zotero/tools/testTranslators/translatorTester.js +++ b/chrome/content/zotero/tools/testTranslators/translatorTester.js @@ -30,12 +30,7 @@ var EXPORTED_SYMBOLS = ["Zotero_TranslatorTesters"]; // For debugging specific translators by label var includeTranslators = []; -try { - Zotero; -} -catch (e) { - var Zotero; -} +this.Zotero = typeof Zotero != 'undefined' ? Zotero : null; var Zotero_TranslatorTesters = new function() { const TEST_TYPES = ["web", "import", "export", "search"];