diff --git a/apps/client/src/widgets/note_type.ts b/apps/client/src/widgets/note_type.ts index fe45fa233..4231ac979 100644 --- a/apps/client/src/widgets/note_type.ts +++ b/apps/client/src/widgets/note_type.ts @@ -11,14 +11,6 @@ import type FNote from "../entities/fnote.js"; const NOT_SELECTABLE_NOTE_TYPES = NOTE_TYPES.filter((nt) => nt.reserved || nt.static).map((nt) => nt.type); -const TPL = /*html*/` -
-`; - export default class NoteTypeWidget extends NoteContextAwareWidget { private dropdown!: Dropdown; @@ -47,93 +39,4 @@ export default class NoteTypeWidget extends NoteContextAwareWidget { this.dropdown.hide(); } - /** the actual body is rendered lazily on note-type button click */ - async renderDropdown() { - this.$noteTypeDropdown.empty(); - - if (!this.note) { - return; - } - - for (const noteType of ) { - let $typeLink: JQuery