client: Fix calendar double open on existing note

This commit is contained in:
Elian Doran 2024-09-12 20:53:31 +03:00
parent 93ce81b355
commit 590a9bef2d
No known key found for this signature in database

View File

@ -186,7 +186,7 @@ export default class CalendarWidget extends RightDropdownButtonWidget {
if (dateNoteId) {
$newDay.addClass('calendar-date-exists');
$newDay.attr("href", `#root/${dateNoteId}`);
$newDay.attr("data-href", `#root/${dateNoteId}`);
}
if (this.isEqual(this.date, this.activeDate)) {