mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 21:36:05 +01:00
refactored TOC and Highlights close buttons and added a button to quickly access options
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user