Revert "Fix item type menuitem type attribute"
This reverts commit 6db62c6705
.
Fixes #4106
This commit is contained in:
parent
5be5ca9416
commit
c7159a5fa6
1 changed files with 5 additions and 2 deletions
|
@ -33,6 +33,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
class ItemTypeMenuList extends customElements.get("menulist") {
|
class ItemTypeMenuList extends customElements.get("menulist") {
|
||||||
|
constructor() {
|
||||||
|
super();
|
||||||
|
}
|
||||||
|
|
||||||
connectedCallback() {
|
connectedCallback() {
|
||||||
super.connectedCallback();
|
super.connectedCallback();
|
||||||
|
|
||||||
|
@ -61,8 +65,7 @@
|
||||||
for (let i = 0; i < itemTypes.length; i++) {
|
for (let i = 0; i < itemTypes.length; i++) {
|
||||||
let name = itemTypes[i].name;
|
let name = itemTypes[i].name;
|
||||||
if (name != 'attachment' && name != 'note' && name != 'annotation') {
|
if (name != 'attachment' && name != 'note' && name != 'annotation') {
|
||||||
let menuitem = this.appendItem(itemTypes[i].localized, itemTypes[i].id);
|
this.appendItem(itemTypes[i].localized, itemTypes[i].id);
|
||||||
menuitem.setAttribute('type', 'radio');
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue