From 03532e1289f32375981ed64f162dc9c7db1341de Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 28 Sep 2022 06:53:48 -0400 Subject: [PATCH] fx-compat: Fix Zotero.getInstalledExtensions() --- chrome/content/zotero/xpcom/zotero.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js index fc2bca2182..e8794bafda 100644 --- a/chrome/content/zotero/xpcom/zotero.js +++ b/chrome/content/zotero/xpcom/zotero.js @@ -1339,9 +1339,8 @@ Services.scriptloader.loadSubScript("resource://zotero/polyfill.js"); }); var addons = []; for (let addon of installed) { - switch (addon.id) { - case "{972ce4c6-7e08-4474-a285-3208198ce6fd}": // Default theme - continue; + if (addon.type == "theme") { + continue; } addons.push(addon.name + " (" + addon.version