refactored TOC and Highlights close buttons and added a button to quickly access options

This commit is contained in:
zadam
2023-11-03 10:44:14 +01:00
parent 76f874ef6d
commit 612e4406b5
6 changed files with 75 additions and 71 deletions

View File

@@ -6,6 +6,7 @@ export default class OnClickButtonWidget extends AbstractButtonWidget {
if (this.settings.onClick) {
this.$widget.on("click", e => {
e.stopPropagation();
this.$widget.tooltip("hide");
this.settings.onClick(this, e);