mirror of
https://github.com/zadam/trilium.git
synced 2024-09-20 23:55:59 +08:00
fix glitch in switching between different types of notes
This commit is contained in:
parent
f2ca9276d6
commit
9c2b98915e
|
@ -67,8 +67,6 @@ export default class NoteTypeWidget extends TabAwareWidget {
|
|||
const noteType = NOTE_TYPES.find(nt => nt.type === type);
|
||||
|
||||
this.save(noteType.type, noteType.mime);
|
||||
|
||||
this.$widget.find('.dropdown-toggle').dropdown('toggle');
|
||||
});
|
||||
|
||||
if (this.note.type === noteType.type) {
|
||||
|
|
Loading…
Reference in a new issue