mirror of
https://github.com/zadam/trilium.git
synced 2025-10-26 07:46:30 +01:00
client: Fix calendar double open on existing note
This commit is contained in:
@@ -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)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user