diff --git a/chrome/content/zotero/tools/testTranslators/translatorTester.js b/chrome/content/zotero/tools/testTranslators/translatorTester.js index 44cd4768f5..9564542c65 100644 --- a/chrome/content/zotero/tools/testTranslators/translatorTester.js +++ b/chrome/content/zotero/tools/testTranslators/translatorTester.js @@ -30,7 +30,12 @@ var EXPORTED_SYMBOLS = ["Zotero_TranslatorTesters"]; // For debugging specific translators by label var includeTranslators = []; -this.Zotero = Zotero; +try { + Zotero; +} +catch (e) { + var Zotero; +} var Zotero_TranslatorTesters = new function() { const TEST_TYPES = ["web", "import", "export", "search"];