client: Fix calendar dropdown not closing (fixes #384)

The regression was introduced in 612e4406b55619e1d8de8b57797fa6ab834111be.
This might cause some other issues in closing the highlights, but none
were identified during a cursory testing.
This commit is contained in:
Elian Doran 2024-09-02 22:15:46 +03:00
parent 50c0252055
commit c2ce7d617a
No known key found for this signature in database

View File

@ -7,7 +7,6 @@ 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);