reimplementation of note type with jquery only

This commit is contained in:
zadam
2019-08-25 21:48:56 +02:00
parent 6d8f11d533
commit 233a50dbb7
4 changed files with 86 additions and 135 deletions

View File

@@ -209,8 +209,7 @@ async function loadNoteDetailToContext(ctx, note, notePath) {
ctx.$noteTitle.val(ctx.note.title);
if (utils.isDesktop()) {
ctx.noteType.type(ctx.note.type);
ctx.noteType.mime(ctx.note.mime);
ctx.noteType.update();
}
await renderComponent(ctx);