mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 16:25:51 +01:00
client: Fix calendar dropdown not closing (fixes #384)
The regression was introduced in 612e4406b5.
This might cause some other issues in closing the highlights, but none
were identified during a cursory testing.
This commit is contained in:
@@ -7,7 +7,6 @@ export default class OnClickButtonWidget extends AbstractButtonWidget {
|
|||||||
|
|
||||||
if (this.settings.onClick) {
|
if (this.settings.onClick) {
|
||||||
this.$widget.on("click", e => {
|
this.$widget.on("click", e => {
|
||||||
e.stopPropagation();
|
|
||||||
this.$widget.tooltip("hide");
|
this.$widget.tooltip("hide");
|
||||||
|
|
||||||
this.settings.onClick(this, e);
|
this.settings.onClick(this, e);
|
||||||
|
|||||||
Reference in New Issue
Block a user