client: Fix note hint not working in calendar

This commit is contained in:
Elian Doran 2024-09-12 19:37:15 +03:00
parent 3134ef7c03
commit a2bc5073d0
No known key found for this signature in database

View File

@ -128,6 +128,8 @@ export default class CalendarWidget extends RightDropdownButtonWidget {
else {
toastService.showError(t("calendar.cannot_find_day_note"));
}
ev.stopPropagation();
});
// Prevent dismissing the calendar popup by clicking on an empty space inside it.
@ -184,6 +186,7 @@ export default class CalendarWidget extends RightDropdownButtonWidget {
if (dateNoteId) {
$newDay.addClass('calendar-date-exists');
$newDay.attr("href", `#root/${dateNoteId}`);
}
if (this.isEqual(this.date, this.activeDate)) {