mirror of
https://github.com/zadam/trilium.git
synced 2025-11-17 02:30:42 +01:00
reimplementation of note type with jquery only
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user