mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 19:05:59 +01:00
close down dropdown menus on click + smaller tweaks
This commit is contained in:
@@ -114,6 +114,9 @@ export default class NoteActionsWidget extends TabAwareWidget {
|
||||
|
||||
this.$unprotectButton = this.$widget.find(".unprotect-button");
|
||||
this.$unprotectButton.on('click', () => protectedSessionService.protectNote(this.noteId, false, false));
|
||||
|
||||
this.$widget.on('click', '.dropdown-item',
|
||||
() => this.$widget.find('.dropdown-toggle').dropdown('toggle'));
|
||||
}
|
||||
|
||||
refreshWithNote(note) {
|
||||
|
||||
Reference in New Issue
Block a user