mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
fix global menu advanced command can't click
This commit is contained in:
parent
73cd54e75c
commit
c4f430276a
@ -280,7 +280,9 @@ export default class GlobalMenuWidget extends BasicWidget {
|
|||||||
this.dropdown.toggle();
|
this.dropdown.toggle();
|
||||||
});
|
});
|
||||||
this.$widget.on('click', '.dropdown-submenu', e => {
|
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(
|
this.$widget.find(".global-menu-button-update-available").append(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user