mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 22:05:44 +01:00
close down dropdown menus on click + smaller tweaks
This commit is contained in:
@@ -120,5 +120,8 @@ export default class GlobalMenuWidget extends BasicWidget {
|
||||
this.$widget.find(".logout-button").toggle(!utils.isElectron());
|
||||
|
||||
this.$widget.find(".open-dev-tools-button").toggle(utils.isElectron());
|
||||
|
||||
this.$widget.on('click', '.dropdown-item',
|
||||
() => this.$widget.find('.dropdown-toggle').dropdown('toggle'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user