mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01: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);
|
const noteType = NOTE_TYPES.find(nt => nt.type === type);
|
||||||
|
|
||||||
this.save(noteType.type, noteType.mime);
|
this.save(noteType.type, noteType.mime);
|
||||||
|
|
||||||
this.$widget.find('.dropdown-toggle').dropdown('toggle');
|
|
||||||
});
|
});
|
||||||
|
|
||||||
if (this.note.type === noteType.type) {
|
if (this.note.type === noteType.type) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user