small tweaks

This commit is contained in:
zadam
2021-02-13 21:52:31 +01:00
parent 378987e61c
commit 076b4a6651
5 changed files with 5 additions and 5 deletions

View File

@@ -128,6 +128,6 @@ export default class GlobalMenuWidget extends BasicWidget {
this.$widget.find(".open-dev-tools-button").toggle(utils.isElectron());
this.$widget.on('click', '.dropdown-item',
() => this.$widget.find('.dropdown-toggle').dropdown('toggle'));
() => this.$widget.find("[data-toggle='dropdown']").dropdown('toggle'));
}
}