fix glitch in switching between different types of notes

This commit is contained in:
zadam 2021-01-23 21:52:39 +01:00
parent f2ca9276d6
commit 9c2b98915e

View file

@ -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) {