mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
Merge pull request #430 from TriliumNext/fix
Fix global menu advanced command can't click
This commit is contained in:
commit
29a1aad45a
@ -280,7 +280,9 @@ export default class GlobalMenuWidget extends BasicWidget {
|
||||
this.dropdown.toggle();
|
||||
});
|
||||
this.$widget.on('click', '.dropdown-submenu', e => {
|
||||
e.stopPropagation();
|
||||
if ($(e.target).children(".dropdown-menu").length === 1 || $(e.target).hasClass('dropdown-toggle')) {
|
||||
e.stopPropagation();
|
||||
}
|
||||
})
|
||||
|
||||
this.$widget.find(".global-menu-button-update-available").append(
|
||||
|
Loading…
x
Reference in New Issue
Block a user