From c7159a5fa60ae47cc95856527e2ca02c759829b1 Mon Sep 17 00:00:00 2001 From: Abe Jellinek Date: Thu, 16 May 2024 10:15:31 -0400 Subject: [PATCH] Revert "Fix item type menuitem type attribute" This reverts commit 6db62c6705686928453f10082fda1279c11ba6fe. Fixes #4106 --- chrome/content/zotero/elements/menulistItemTypes.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/elements/menulistItemTypes.js b/chrome/content/zotero/elements/menulistItemTypes.js index 65ce7e094d..2508a6a834 100644 --- a/chrome/content/zotero/elements/menulistItemTypes.js +++ b/chrome/content/zotero/elements/menulistItemTypes.js @@ -33,6 +33,10 @@ } class ItemTypeMenuList extends customElements.get("menulist") { + constructor() { + super(); + } + connectedCallback() { super.connectedCallback(); @@ -61,8 +65,7 @@ for (let i = 0; i < itemTypes.length; i++) { let name = itemTypes[i].name; if (name != 'attachment' && name != 'note' && name != 'annotation') { - let menuitem = this.appendItem(itemTypes[i].localized, itemTypes[i].id); - menuitem.setAttribute('type', 'radio'); + this.appendItem(itemTypes[i].localized, itemTypes[i].id); } }