fx-compat: Fix Zotero.getInstalledExtensions()

This commit is contained in:
Dan Stillman 2022-09-28 06:53:48 -04:00
parent 76ff32098f
commit 03532e1289

View file

@ -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