mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
fix(global_menu): fix non-existing option (according to TS)
This commit is contained in:
parent
bc28f323b8
commit
ad8adeda0a
@ -300,7 +300,9 @@ export default class GlobalMenuWidget extends BasicWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.dropdown = Dropdown.getOrCreateInstance(this.$widget.find("[data-bs-toggle='dropdown']")[0], {
|
this.dropdown = Dropdown.getOrCreateInstance(this.$widget.find("[data-bs-toggle='dropdown']")[0], {
|
||||||
alignment: "bottom"
|
popperConfig: {
|
||||||
|
placement: "bottom"
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
this.$widget.find(".show-about-dialog-button").on("click", () => this.triggerCommand("openAboutDialog"));
|
this.$widget.find(".show-about-dialog-button").on("click", () => this.triggerCommand("openAboutDialog"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user