fix regressions

This commit is contained in:
Jin
2024-09-12 13:55:07 +02:00
parent 527591f651
commit ce8b5e33da
17 changed files with 113 additions and 52 deletions

View File

@@ -30,6 +30,7 @@ export default class RightDropdownButtonWidget extends BasicWidget {
doRender() {
this.$widget = $(TPL);
this.$dropdownMenu = this.$widget.find(".dropdown-menu");
this.dropdown = bootstrap.Dropdown.getOrCreateInstance(this.$widget.find("[data-bs-toggle='dropdown']"));
this.$tooltip = this.$widget.find(".tooltip-trigger").attr("title", this.title);
this.tooltip = new bootstrap.Tooltip(this.$tooltip);