mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
client: Fix calendar double open on existing note
This commit is contained in:
parent
93ce81b355
commit
590a9bef2d
@ -186,7 +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}`);
|
$newDay.attr("data-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