mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
client: Fix note hint not working in calendar
This commit is contained in:
parent
3134ef7c03
commit
a2bc5073d0
@ -128,6 +128,8 @@ export default class CalendarWidget extends RightDropdownButtonWidget {
|
|||||||
else {
|
else {
|
||||||
toastService.showError(t("calendar.cannot_find_day_note"));
|
toastService.showError(t("calendar.cannot_find_day_note"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ev.stopPropagation();
|
||||||
});
|
});
|
||||||
|
|
||||||
// Prevent dismissing the calendar popup by clicking on an empty space inside it.
|
// 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) {
|
if (dateNoteId) {
|
||||||
$newDay.addClass('calendar-date-exists');
|
$newDay.addClass('calendar-date-exists');
|
||||||
|
$newDay.attr("href", `#root/${dateNoteId}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.isEqual(this.date, this.activeDate)) {
|
if (this.isEqual(this.date, this.activeDate)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user